any getKeyValue()
returns the current value of the current has key being iterated or throws an INVALID-ITERATOR excepti...
string getKey()
returns the current key value or throws an INVALID-ITERATOR exception if the iterator is invalid ...
copy()
Creates a copy of the HashIterator object, iterating the same object as the original and in the same ...
bool valid()
returns True if the iterator is currently pointing at a valid element, False if not ...
This class an iterator class for hashes.
Definition: QC_HashIterator.dox.h:28
bool empty()
returns True if the hash is empty; False if not
constructor()
Creates an empty hash iterator object.
This class defines an abstract interface for bidirectional iterators where the size of the object is ...
Definition: QC_AbstractQuantifiedBidirectionalIterator.dox.h:6
reset()
Reset the iterator instance to its initial state.
bool next()
Moves the current position to the next element in the hash; returns False if there are no more elemen...
bool prev()
Moves the current position to the previous element in the hash; returns False if there are no more el...
hash getValuePair()
returns a hash with the current key and value (a hash with 2 keys: "key" and "value") or throws an IN...
bool last()
returns True if on the last element of the hash
hash hash(object obj)
Returns a hash of an object's members.
bool first()
returns True if on the first element of the hash
any getValue()
returns the current key value or throws an INVALID-ITERATOR exception if the iterator is invalid ...