Public Member Functions | |
| OFSetIterator (OFSet< T > &ofsetv) | |
| Constructor. | |
| virtual | ~OFSetIterator () |
| Destructor. | |
| void | ResetBeginning () |
| Resets the iterator to the set's first element. | |
| void | ResetEnd () |
| Resets the iterator to the set's last element. | |
| T * | Object () |
| Returns the current element. | |
| void | Next () |
| Sets the iterator to the next element in the set. | |
| void | Prev () |
| Sets the iterator to the previous element in the set. | |
| OFBool | operator== (const OFSetIterator< T > &other) const |
| Determines if two iterators are identical. | |
| OFBool | operator!= (const OFSetIterator< T > &other) const |
| Determines if two iterators are not identical. | |
Protected Attributes | |
| OFSet< T > & | ofset |
| unsigned int | pos |
Note the following properties of this class:
Definition at line 56 of file ofsetit.h.
|
||||||||||
|
Constructor. The iterator will be set to the set's first element.
|
|
|||||||||
|
Returns the current element.
Definition at line 99 of file ofsetit.h. References OFSetIterator< T >::ofset, and OFSetIterator< T >::pos. |
|
||||||||||
|
Determines if two iterators are not identical.
|
|
||||||||||
|
Determines if two iterators are identical.
Definition at line 131 of file ofsetit.h. References OFSetIterator< T >::ofset, and OFSetIterator< T >::pos. |