Proto
3.2
|
#include <Proto_Face.H>
Public Member Functions | |
SideIterator (int a_start=0) | |
Constructor. More... | |
~SideIterator () | |
Destructor. More... | |
void | begin () |
Begin. More... | |
void | operator++ () |
Increment. More... | |
bool | operator== (const SideIterator &a_iter) |
Equality Operator. More... | |
bool | operator!= (const SideIterator &a_iter) |
Inequality Operator. More... | |
Side::LoHiSide | operator* () |
Dereference. More... | |
Side::LoHiSide | operator() () const |
Get Value. More... | |
bool | ok () const |
Continue Query. More... | |
Private Attributes | |
int | m_current |
Side Iterator.
Convenience iterator to allow iteration through Lo, Hi.
|
inline |
Constructor.
|
inline |
Destructor.
|
inline |
Begin.
Set the iterator to the first side.
|
inline |
Increment.
Advance the iterator to the next face.
|
inline |
|
inline |
|
inline |
Dereference.
|
inline |
Get Value.
Returns the current Side
References Proto::Side::Hi, Proto::Side::Invalid, and Proto::Side::Lo.
|
inline |
Continue Query.
Returns true
if there is a next side, false
if not.
References Proto::Side::NUMSIDES.
|
private |
Referenced by operator!=(), and operator==().