C++ API Reference
|
Helper class to contain the implementation-specific information. More...
Public Member Functions | |
~StructureIteratorImpl () | |
Destructor, releases the claim on the structure. | |
StructureIteratorImpl (const Structure *s, unsigned int i) | |
Constructor, specifies the structure over which to iterate. More... | |
StructureIteratorImpl & | operator= (const StructureIteratorImpl &rhs) |
Assignment operator, used to facilitate begin()/end() interface. More... | |
bool | operator== (const StructureIteratorImpl &rhs) const |
Equality operator, used to facilitate begin()/end() interface. More... | |
bool | operator!= (const StructureIteratorImpl &rhs) const |
Inequality operator, used to facilitate begin()/end() interface. More... | |
Member & | operator* () |
Get the Member at the current location of the iterator (mutable version) More... | |
const Member & | operator* () const |
Get the Member at the current location of the iterator (const version) More... | |
Member * | operator-> () |
Get the Member at the current location of the iterator (mutable version) More... | |
const Member * | operator-> () const |
Get the Member at the current location of the iterator (const version) More... | |
StructureIteratorImpl & | operator++ () |
Pre-increment operator. More... | |
StructureIteratorImpl | operator++ (int) |
Post-increment operator. More... | |
const Structure & | structure () const |
Get the structure being used by the iterator. More... | |
Public Attributes | |
unsigned int | fCurrentIndex |
Current location of the iterator. | |
const Structure * | fStructure |
Structure over which to iterate. | |
Helper class to contain the implementation-specific information.
StructureIteratorImpl | ( | const Structure * | s, |
unsigned int | i | ||
) |
Constructor, specifies the structure over which to iterate.
[in] | s | Structure over which to iterate |
[in] | i | Member index at which the iterator starts |
|
inline |
Assignment operator, used to facilitate begin()/end() interface.
[in] | rhs | Iterator to be copied |
|
inline |
Equality operator, used to facilitate begin()/end() interface.
[in] | rhs | Iterator to be compared |
|
inline |
Inequality operator, used to facilitate begin()/end() interface.
[in] | rhs | Iterator to be compared |
|
inline |
Get the Member at the current location of the iterator (mutable version)
std::out_of_range | iterator is past the end. |
|
inline |
Get the Member at the current location of the iterator (const version)
std::out_of_range | iterator is past the end. |
|
inline |
Get the Member at the current location of the iterator (mutable version)
std::out_of_range | iterator is past the end. |
|
inline |
Get the Member at the current location of the iterator (const version)
std::out_of_range | iterator is past the end. |
|
inline |
Pre-increment operator.
StructureIteratorImpl operator++ | ( | int | ) |
Post-increment operator.
Makes a copy - use pre-increment where possible
|
inline |
Get the structure being used by the iterator.