csHash< T, K, KeyHandler >::Iterator Class Reference
An iterator class for the hash. More...
#include <hash.h>
Inheritance diagram for csHash< T, K, KeyHandler >::Iterator:

Public Methods | |
Iterator (const Iterator &o) | |
Copy constructor. | |
Iterator & | operator= (const Iterator &o) |
Assignment operator. | |
bool | HasNext () const |
Returns a boolean indicating whether or not the hash has more elements. | |
const T & | Next () |
Get the next element's value. | |
void | DeleteNext () |
Delete the next element. | |
void | Reset () |
Move the iterator back to the first element. |
Detailed Description
template<class T, class K = uint32, class KeyHandler = csIntegralHashKeyHandler<K>>
class csHash< T, K, KeyHandler >::Iterator
An iterator class for the hash.
Definition at line 278 of file hash.h.
Constructor & Destructor Documentation
|
Copy constructor.
|
Member Function Documentation
|
Delete the next element.
Definition at line 337 of file hash.h. References csHash< T, K, KeyHandler >::Elements. |
|
Returns a boolean indicating whether or not the hash has more elements.
|
|
Get the next element's value.
Definition at line 328 of file hash.h. References csHash< T, K, KeyHandler >::Elements. |
|
Assignment operator.
Definition at line 311 of file hash.h. References csHash< T, K, KeyHandler >::Iterator::bucket, csHash< T, K, KeyHandler >::Iterator::element, csHash< T, K, KeyHandler >::Iterator::hash, csHash< T, K, KeyHandler >::Iterator::key, and csHash< T, K, KeyHandler >::Iterator::size. |
|
Move the iterator back to the first element.
|
The documentation for this class was generated from the following file:
- csutil/hash.h
Generated for Crystal Space by doxygen 1.2.18