#include <DictIterator.h>
DictIterator is used to traverse key/value pairs in a dictionary. For example a DictIterator can be used to print out all the entries in a given Obj dictionary as follows:
}
DictIterator(const DictIterator &c)
const char * GetName() const
Definition at line 32 of file DictIterator.h.
◆ DictIterator()
| pdftron::SDF::DictIterator::DictIterator |
( |
const DictIterator & | c | ) |
|
◆ ~DictIterator()
| pdftron::SDF::DictIterator::~DictIterator |
( |
| ) |
|
◆ Destroy()
| void pdftron::SDF::DictIterator::Destroy |
( |
| ) |
|
Frees the native memory of the object.
◆ HasCurrent()
| bool pdftron::SDF::DictIterator::HasCurrent |
( |
| ) |
|
- Returns
- true if the current iterator is not the end of the collection
◆ HasNext()
| bool pdftron::SDF::DictIterator::HasNext |
( |
| ) |
|
- Returns
- true if the current iterator is not the end of the collection Deprecated prefer HasCurrent()
◆ Key()
| SDF::Obj pdftron::SDF::DictIterator::Key |
( |
| ) |
|
- Returns
- the key of the current dictionary entry.
◆ Next()
| void pdftron::SDF::DictIterator::Next |
( |
| ) |
|
Advances the iterator to the next element of the collection.
◆ operator=()
◆ Value()
| SDF::Obj pdftron::SDF::DictIterator::Value |
( |
| ) |
|
- Returns
- the value of the current dictionary entry.
The documentation for this class was generated from the following file: