iterator class for traversing a DcmHashDict
More...
|
| void | init (const DcmHashDict *d, OFBool atEnd=OFFalse) |
| | initializes the iterator
|
| |
|
void | stepUp () |
| | implements increment operator on hash dictionary
|
| |
|
|
const DcmHashDict * | dict |
| | pointer to the hash dictionary this iterator traverses
|
| |
|
int | hindex |
| | index of current bucket
|
| |
|
OFBool | iterating |
| | flag indicating if iter is currently valid
|
| |
|
DcmDictEntryListIterator | iter |
| | iterator for traversing a bucket in the hash table
|
| |
iterator class for traversing a DcmHashDict
◆ DcmHashDictIterator() [1/2]
| DcmHashDictIterator::DcmHashDictIterator |
( |
const DcmHashDict * | d, |
|
|
OFBool | atEnd = OFFalse ) |
|
inline |
constructor, creates iterator to existing hash dictionary
- Parameters
-
| d | pointer to dictionary |
| atEnd | if true, iterator points after last element of hash dictionary, otherwise iterator points to first element |
References dict, hindex, init(), iter, and iterating.
◆ DcmHashDictIterator() [2/2]
◆ init()
| void DcmHashDictIterator::init |
( |
const DcmHashDict * | d, |
|
|
OFBool | atEnd = OFFalse ) |
|
private |
initializes the iterator
- Parameters
-
| d | pointer to hash dictionary, may be NULL |
| atEnd | if true, iterator points after last element of hash dictionary, otherwise iterator points to first element |
Referenced by DcmHashDictIterator(), and DcmHashDictIterator().
◆ operator!=()
◆ operator=()
◆ operator==()
The documentation for this class was generated from the following file:
- dcmdata/include/dcmtk/dcmdata/dchashdi.h