#include <DataIterator.H>
Public Member Functions | |
virtual | ~DataIterator () |
DataIterator () | |
DataIterator (const BoxLayout &a_layout) | |
const DataIndex & | operator() () const |
return the index that this iterator is at | |
DataIndex | i () const |
return a copy of the index that this iterator is at | |
int | size () const |
Protected Member Functions | |
DataIterator (const BoxLayout &boxlayout, const int *layoutID) | |
Friends | |
class | BoxLayout |
class | DisjointBoxLayout |
class | TimedDataIterator |
virtual DataIterator::~DataIterator | ( | ) | [inline, virtual] |
DataIterator::DataIterator | ( | ) | [inline] |
DataIterator::DataIterator | ( | const BoxLayout & | a_layout | ) | [inline] |
References BoxLayout::dataIterator().
DataIterator::DataIterator | ( | const BoxLayout & | boxlayout, | |
const int * | layoutID | |||
) | [inline, protected] |
const DataIndex& DataIterator::operator() | ( | ) | const [inline] |
return the index that this iterator is at
Aborts if the iterator is not ok()
Reimplemented from LayoutIterator.
References LayoutIterator::operator()().
Referenced by i().
DataIndex DataIterator::i | ( | ) | const [inline] |
return a copy of the index that this iterator is at
Aborts if the iterator is not ok()
Reimplemented from LayoutIterator.
References operator()().
int DataIterator::size | ( | ) | const [inline] |
References LayoutIterator::m_layout, and BoxLayout::size().
Referenced by LayoutData< T >::allocate(), and BoxLayoutData< T >::allocateGhostVector().
friend class BoxLayout [friend] |
friend class DisjointBoxLayout [friend] |
Reimplemented in TimedDataIterator.
friend class TimedDataIterator [friend] |
Reimplemented from LayoutIterator.