iterator class for traversing a DcmHashDict
More...
|
| void | init (const DcmHashDict *d, OFBool atEnd=OFFalse) |
| | initializes the iterator More...
|
| |
|
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 |
◆ DcmHashDictIterator() [2/2]
copy constructor
- Parameters
-
◆ 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 |
◆ operator!=()
comparison non-equality
- Parameters
-
| x | the iterator to compare against |
◆ operator=()
◆ operator==()
comparison equality
- Parameters
-
| x | the iterator to compare against |
References hindex, iter, and iterating.
The documentation for this class was generated from the following file:
- dcmdata/include/dcmtk/dcmdata/dchashdi.h