![]() |
Public API Reference |
#include <hashmap.h>
Inheritance diagram for csHashIterator:
Public Methods | |
csHashIterator (csHashMap *hash, csHashKey Key) | |
Constructor for an iterator to iterate over all elements with the given key. More... | |
bool | HasNext () |
Is there a next element in this iterator? More... | |
csHashObject | Next () |
Get the next element. More... | |
void | DeleteNext () |
Delete next element and fetches new one. More... | |
Friends | |
class | csHashMap |
class | csHashIteratorReversible |
When you have an open iterator you should not alter the hashmap that this object iterates over. The only safe operation that you can do is to call 'Delete' on this iterator to delete one element from the map. The iterator will correctly point to the next element then.
Definition at line 112 of file hashmap.h.
|
Constructor for an iterator to iterate over all elements with the given key. Note that you should not do changes on the hashmap when you have open iterators. |
|
Delete next element and fetches new one. @@ Not implemented yet! |
|
Is there a next element in this iterator?
|
|
Get the next element.
Reimplemented in csHashIteratorReversible. |