Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages
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 562 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.
|
|
Assignment operator.
Definition at line 596 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.
Definition at line 622 of file hash.h. Referenced by csHash< T, K >::Iterator::Iterator(). |
The documentation for this class was generated from the following file:
- csutil/hash.h
Generated for Crystal Space by doxygen 1.4.4