Commit 2bc60c43 authored by gsell's avatar gsell
Browse files

cleanup: IPPL revert changes in SubFieldAssignDefs.h

parent a94bdcfe
......@@ -76,6 +76,13 @@ for_each(SubFieldIter<T,D,S> &p, SameSubsetType s, C)
return p.matchType(s.fID);
}
template<class T, class C, unsigned int D>
inline bool
for_each(typename BareField<T,D>::iterator&, SameSubsetType /*s*/, C)
{
return false;
}
template<class C>
inline bool
for_each(Index::cursor&, SameSubsetType, C)
......@@ -109,6 +116,13 @@ for_each(SubFieldIter<T,D,S> &p, SubsetInit, C)
return 0;
}
template<class T, class C, unsigned int D>
inline int
for_each(typename BareField<T,D>::iterator &/*p*/, SubsetInit, C)
{
return 0;
}
template<class C>
inline int
for_each(Index::cursor&, SubsetInit, C)
......@@ -287,4 +301,39 @@ for_each(SubFieldIter<T,D,S> &p, RewindFunctor s, C)
return 0;
}
//////////////////////////////////////////////////////////////////////
//
// Does an iterator reference something with unit stride?
// Don't worry about it for now.
//
//////////////////////////////////////////////////////////////////////
template<class T, unsigned int D, class S, class C>
inline bool
for_each(SubFieldIter<T,D,S> &/*p*/, HasUnitStride, C)
{
return false;
}
//////////////////////////////////////////////////////////////////////
//
// Ask each term to fill guard cells and compress itself
//
//////////////////////////////////////////////////////////////////////
template<class T, unsigned int D, class S, class C, class T1>
inline int
for_each(SubFieldIter<T,D,S> &p, const FillGCIfNecessaryTag<D,T1> &/*f*/, C)
{
//tjw3/3/99 p.FillGCIfNecessary(f.I, f.I);
p.FillGCIfNecessary();
return 0;
}
#endif // SUB_FIELD_ASSIGN_DEFS_H
/***************************************************************************
* $RCSfile: SubFieldAssignDefs.h,v $ $Author: adelmann $
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:33 $
* IPPL_VERSION_ID: $Id: SubFieldAssignDefs.h,v 1.1.1.1 2003/01/23 07:40:33 adelmann Exp $
***************************************************************************/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment