VCF::DictionaryEnumerator Class Reference
The DictionaryEnumerator simply iterates through all of the items in a Dictionary. More...
#include <vcf/FoundationKit/Dictionary.h>
Inheritance diagram for VCF::DictionaryEnumerator:

Public Types | |
| typedef String | KeyType |
| typedef VariantData | ValueType |
| typedef std::map< KeyType, ValueType > | MapType |
| typedef std::pair< const KeyType, ValueType > | PairType |
Public Member Functions | |
| DictionaryEnumerator (MapType &container) | |
| DictionaryEnumerator () | |
| virtual | ~DictionaryEnumerator () |
| virtual void | initContainer (MapType &container) |
| virtual Enumerator< PairType > * | getEnumerator () const |
| virtual bool | hasMoreElements (const bool &backward=false) const |
| indicates whether there are any more children to enumerate through | |
| virtual PairType | nextElement () |
| returns the next element in the enumeration. | |
| virtual PairType | prevElement () |
| returns the previous element in the enumeration. | |
| virtual void | reset (const bool &backward=false) const |
| Resets the Enumerator's internal iterator back to the beginning (or end, if backward is true). | |
Detailed Description
The DictionaryEnumerator simply iterates through all of the items in a Dictionary.
- See also:
- Dictionary
Member Typedef Documentation
|
|
|
|
|
|
|
|
|
|
|
|
Constructor & Destructor Documentation
|
|
|
|
|
|
|
|
|
Member Function Documentation
|
|
|
|
|
indicates whether there are any more children to enumerate through
Implements VCF::Enumerator< std::pair< const String, VariantData > >. |
|
|
|
|
|
returns the next element in the enumeration. Moves the internal iterator forward
Implements VCF::Enumerator< std::pair< const String, VariantData > >. |
|
|
returns the previous element in the enumeration. Moves the internal iterator backward
Implements VCF::Enumerator< std::pair< const String, VariantData > >. |
|
|
Resets the Enumerator's internal iterator back to the beginning (or end, if backward is true).
Implements VCF::Enumerator< std::pair< const String, VariantData > >. |
The documentation for this class was generated from the following file:
- vcf/FoundationKit/Dictionary.h
