StructureIteratorImpl Class Reference
Helper class to contain the implementation-specific information.
Constructor, specifies the structure over which to iterate.
- Parameters
-
[in] | s | Structure over which to iterate |
[in] | i | Member index at which the iterator starts |
Assignment operator, used to facilitate begin()/end() interface.
- Parameters
-
[in] | rhs | Iterator to be copied |
- Returns
- Reference to the assigned iterator
Equality operator, used to facilitate begin()/end() interface.
- Parameters
-
[in] | rhs | Iterator to be compared |
- Returns
- True if they are the same iterator
Inequality operator, used to facilitate begin()/end() interface.
- Parameters
-
[in] | rhs | Iterator to be compared |
- Returns
- True if they are not the same iterator
Get the Member at the current location of the iterator (mutable version)
- Exceptions
-
std::out_of_range | iterator is past the end. |
- Returns
- Reference to the current Member, throws if iteration is done
const Member & operator* |
( |
| ) |
const |
|
inline |
Get the Member at the current location of the iterator (const version)
- Exceptions
-
std::out_of_range | iterator is past the end. |
- Returns
- Reference to the current Member, throws if iteration is done
Get the Member at the current location of the iterator (mutable version)
- Exceptions
-
std::out_of_range | iterator is past the end. |
- Returns
- Pointer to the current Member, throws if iteration is done
const Member * operator-> |
( |
| ) |
const |
|
inline |
Get the Member at the current location of the iterator (const version)
- Exceptions
-
std::out_of_range | iterator is past the end. |
- Returns
- Pointer to the current Member, throws if iteration is done
Pre-increment operator.
- Returns
- Reference to this iterator, to allow use as a lhs
Post-increment operator.
Makes a copy - use pre-increment where possible
- Returns
- Copy of the iterator before the advance
Get the structure being used by the iterator.
- Returns
- Reference to structure being used by the iterator
The documentation for this class was generated from the following file:
- adskDataStructureIterator.cpp