Mesh Oriented datABase
(version 5.4.1)
Array-based unstructured mesh datastructure
|
a const reverse iterator which iterates over an Range More...
#include <Range.hpp>
Public Member Functions | |
const_reverse_iterator () | |
default constructor - intialize base default constructor | |
const_reverse_iterator (const_iterator fwd_iter) | |
const_reverse_iterator (const PairNode *iter, const EntityHandle val) | |
constructor used by Range | |
const EntityHandle & | operator* () const |
dereference that value this iterator points to returns a const reference | |
const_reverse_iterator & | operator++ () |
prefix incrementer | |
const_reverse_iterator | operator++ (int) |
postfix incrementer | |
const_reverse_iterator & | operator-- () |
prefix decrementer | |
const_reverse_iterator | operator-- (int) |
postfix decrementer | |
const_reverse_iterator & | operator+= (EntityID step) |
Advance iterator specified amount. Potentially O(n), but typically better. Always more efficient than calling operator++ step times. | |
const_reverse_iterator & | operator-= (EntityID step) |
Regress iterator specified amount. Potentially O(n), but typically better. Always more efficient than calling operator-- step times. | |
bool | operator== (const const_reverse_iterator &other) const |
equals operator | |
bool | operator!= (const const_reverse_iterator &other) const |
not equals operator | |
Protected Attributes | |
const_iterator | myIter |
the node we are pointing at | |
Friends | |
class | Range |
class | pair_iterator |
moab::Range::const_reverse_iterator::const_reverse_iterator | ( | const_iterator | fwd_iter | ) | [inline] |
moab::Range::const_reverse_iterator::const_reverse_iterator | ( | const PairNode * | iter, |
const EntityHandle | val | ||
) | [inline] |
bool moab::Range::const_reverse_iterator::operator!= | ( | const const_reverse_iterator & | other | ) | const [inline] |
const EntityHandle& moab::Range::const_reverse_iterator::operator* | ( | ) | const [inline] |
const_reverse_iterator& moab::Range::const_reverse_iterator::operator++ | ( | ) | [inline] |
const_reverse_iterator moab::Range::const_reverse_iterator::operator++ | ( | int | ) | [inline] |
postfix incrementer
Definition at line 628 of file Range.hpp.
{ return const_reverse_iterator( myIter-- ); }
const_reverse_iterator& moab::Range::const_reverse_iterator::operator+= | ( | EntityID | step | ) | [inline] |
const_reverse_iterator& moab::Range::const_reverse_iterator::operator-- | ( | ) | [inline] |
const_reverse_iterator moab::Range::const_reverse_iterator::operator-- | ( | int | ) | [inline] |
postfix decrementer
Definition at line 641 of file Range.hpp.
{ return const_reverse_iterator( myIter++ ); }
const_reverse_iterator& moab::Range::const_reverse_iterator::operator-= | ( | EntityID | step | ) | [inline] |
bool moab::Range::const_reverse_iterator::operator== | ( | const const_reverse_iterator & | other | ) | const [inline] |
friend class pair_iterator [friend] |
the node we are pointing at
Definition at line 678 of file Range.hpp.
Referenced by operator!=(), and operator==().