11 #ifndef _LAYOUTITERATOR_H_ 12 #define _LAYOUTITERATOR_H_ 20 #include "NamespaceHeader.H" 72 virtual bool ok()
const;
90 const int* a_layoutID);
121 #include "NamespaceFooter.H" A reference-counting handle class.
Definition: RefCountedPtr.H:66
void incr()
move the iterator to the next Box in the layout
Definition: LayoutIterator.H:66
#define CH_assert(cond)
Definition: CHArray.H:37
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:146
const LayoutIndex & operator()() const
return the index that this iterator is at
Definition: LayoutIterator.H:99
void end()
move this iterator to after the last Box in the layout
unsigned int size() const
Returns the total number of boxes in the BoxLayout.
void begin()
initialize this iterator to the first Box in its Layout
Definition: LayoutIterator.H:115
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:110
int m_current
Definition: LayoutIterator.H:95
An Iterator based on a BoxLayout object.
Definition: LayoutIterator.H:38
LayoutIndex i() const
return a copy of the index that this iterator is at
Definition: LayoutIterator.H:57
void reset()
same as begin()
LayoutIterator()
a null constructed LayoutIterator will return false on ok()
Definition: LayoutIterator.H:42
BoxLayout m_layout
Definition: LayoutIterator.H:92
virtual void operator++()
move the iterator to the next Box in the layout
Definition: LayoutIterator.H:105
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
An index for LayoutIterator.
Definition: DataIndex.H:30
virtual ~LayoutIterator()
Definition: LayoutIterator.H:50
Definition: TimedDataIterator.H:23
RefCountedPtr< Vector< LayoutIndex > > m_indicies
Definition: LayoutIterator.H:93