MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Public Member Functions | |
IndexIterator (size_t pStart, size_t pEnd) | |
virtual | ~IndexIterator () |
virtual void | restart () |
virtual Mesh::EntityHandle | operator* () const |
virtual void | operator++ () |
++iterator | |
virtual bool | is_at_end () const |
Private Attributes | |
size_t | mStart |
size_t | mEnd |
size_t | mCurrent |
Definition at line 43 of file ArrayMesh.cpp.
MBMesquite::IndexIterator::IndexIterator | ( | size_t | pStart, |
size_t | pEnd | ||
) | [inline] |
Definition at line 46 of file ArrayMesh.cpp.
virtual MBMesquite::IndexIterator::~IndexIterator | ( | ) | [inline, virtual] |
Definition at line 47 of file ArrayMesh.cpp.
{}
virtual bool MBMesquite::IndexIterator::is_at_end | ( | ) | const [inline, virtual] |
Returns false until the iterator has been advanced PAST the last entity. Once is_at_end() returns true, *iterator returns 0.
Implements MBMesquite::EntityIterator.
Definition at line 60 of file ArrayMesh.cpp.
virtual Mesh::EntityHandle MBMesquite::IndexIterator::operator* | ( | ) | const [inline, virtual] |
*iterator. Return the handle currently being pointed at by the iterator.
Implements MBMesquite::EntityIterator.
Definition at line 52 of file ArrayMesh.cpp.
References mCurrent.
{ return (Mesh::EntityHandle)mCurrent; }
virtual void MBMesquite::IndexIterator::operator++ | ( | ) | [inline, virtual] |
++iterator
Implements MBMesquite::EntityIterator.
Definition at line 56 of file ArrayMesh.cpp.
References mCurrent.
{ ++mCurrent; }
virtual void MBMesquite::IndexIterator::restart | ( | ) | [inline, virtual] |
Moves the iterator back to the first entity in the list.
Implements MBMesquite::EntityIterator.
Definition at line 48 of file ArrayMesh.cpp.
size_t MBMesquite::IndexIterator::mCurrent [private] |
Definition at line 66 of file ArrayMesh.cpp.
Referenced by is_at_end(), operator*(), operator++(), and restart().
size_t MBMesquite::IndexIterator::mEnd [private] |
Definition at line 66 of file ArrayMesh.cpp.
Referenced by is_at_end().
size_t MBMesquite::IndexIterator::mStart [private] |
Definition at line 66 of file ArrayMesh.cpp.
Referenced by restart().