|
DCMTK Version 3.7.1
OFFIS DICOM Toolkit
|
This template class represents an iterator class for corresponding set data structures in ofstd. More...
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 |
| reference to the set instance | |
| unsigned int | pos |
| current position in the set | |
This template class represents an iterator class for corresponding set data structures in ofstd.
Note the following properties of this class:
|
inline |
Constructor.
The iterator will be set to the set's first element.
| ofsetv | Set to which the created object shall be an iterator. |
Referenced by operator!=(), and operator==().
|
inline |
Returns the current element.
References OFSet< T >::NumberOfElements(), ofset, and pos.
|
inline |
Determines if two iterators are not identical.
| other | Iterator which shall be compared with this. |
References OFSetIterator().
|
inline |
Determines if two iterators are identical.
| other | Iterator which shall be compared with this. |
References OFSetIterator(), ofset, and pos.