csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::Iterator Class Reference
An iterator class for the csHash class. 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. | |
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. | |
Friends | |
class | csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler > |
Detailed Description
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
class csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::Iterator
An iterator class for the csHash class.
Definition at line 510 of file hash.h.
Constructor & Destructor Documentation
Member Function Documentation
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
bool csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::Iterator::HasNext | ( | ) | const [inline] |
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
T& csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::Iterator::Next | ( | ) | [inline] |
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
void csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::Iterator::Reset | ( | ) | [inline] |
The documentation for this class was generated from the following file:
- csutil/hash.h
Generated for Crystal Space 2.0 by doxygen 1.6.1