csHash< T, K >::Iterator Class Reference
An iterator class for the hash. More...
#include <csutil/hash.h>
Public Member Functions | |
| bool | HasNext () const |
| Returns a boolean indicating whether or not the hash has more elements. | |
| Iterator (const Iterator &o) | |
| Copy constructor. | |
| const T & | Next () |
| Get the next element's value. | |
| Iterator & | operator= (const Iterator &o) |
| Assignment operator. | |
| void | Reset () |
| Move the iterator back to the first element. | |
Protected Member Functions | |
| Iterator (const csHash< T, K > *hash0, const K &key0) | |
Friends | |
| class | csHash< T, K > |
Detailed Description
template<class T, class K = unsigned int>
class csHash< T, K >::Iterator
An iterator class for the hash.
Definition at line 564 of file hash.h.
Constructor & Destructor Documentation
|
||||||||||
|
Copy constructor.
|
Member Function Documentation
|
|||||||||
|
Returns a boolean indicating whether or not the hash has more elements.
|
|
|||||||||
|
Get the next element's value.
Definition at line 615 of file hash.h. References csHash< T, K >::Elements. |
|
||||||||||
|
Assignment operator.
Definition at line 598 of file hash.h. References csHash< T, K >::Iterator::bucket, csHash< T, K >::Iterator::element, csHash< T, K >::Iterator::hash, csHash< T, K >::Iterator::key, and csHash< T, K >::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.4.6
