11 #ifndef _LAYOUTITERATOR_H_ 12 #define _LAYOUTITERATOR_H_ 17 #include "NamespaceHeader.H" 69 virtual bool ok()
const;
98 const int* a_layoutID);
127 #include "NamespaceFooter.H" A reference-counting handle class.
Definition: RefCountedPtr.H:173
void incr()
move the iterator to the next Box in the layout
Definition: LayoutIterator.H:63
#define CH_assert(cond)
Definition: CHArray.H:37
const LayoutIndex & operator[](int ivec) const
Definition: LayoutIterator.H:83
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
const LayoutIndex & operator()() const
return the index that this iterator is at
Definition: LayoutIterator.H:106
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:122
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:117
An Iterator based on a BoxLayout object.
Definition: LayoutIterator.H:35
LayoutIndex & operator[](int ivec)
Definition: LayoutIterator.H:88
LayoutIndex i() const
return a copy of the index that this iterator is at
Definition: LayoutIterator.H:54
void reset()
same as begin()
LayoutIterator()
a null constructed LayoutIterator will return false on ok()
Definition: LayoutIterator.H:39
unsigned int m_current
Definition: LayoutIterator.H:103
BoxLayout m_layout
Definition: LayoutIterator.H:100
virtual void operator++()
move the iterator to the next Box in the layout
Definition: LayoutIterator.H:112
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
An index for LayoutIterator.
Definition: DataIndex.H:30
virtual ~LayoutIterator()
Definition: LayoutIterator.H:47
Definition: TimedDataIterator.H:23
RefCountedPtr< Vector< LayoutIndex > > m_indicies
Definition: LayoutIterator.H:101