An const iterator class for the csHash class.
More...
#include <csutil/hash.h>
List of all members.
Public Member Functions |
| ConstIterator (const ConstIterator &o) |
| Copy constructor.
|
bool | HasNext () const |
| Returns a boolean indicating whether or not the hash has more elements.
|
const T & | Next () |
| Get the next element's value.
|
ConstIterator & | operator= (const ConstIterator &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 >::ConstIterator
An const iterator class for the csHash class.
Definition at line 693 of file hash.h.
Constructor & Destructor Documentation
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
csHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstIterator::ConstIterator |
( |
const ConstIterator & |
o | ) |
[inline] |
Copy constructor.
Definition at line 720 of file hash.h.
Member Function Documentation
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
Returns a boolean indicating whether or not the hash has more elements.
Definition at line 739 of file hash.h.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
Get the next element's value.
Definition at line 745 of file hash.h.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
Assignment operator.
Definition at line 728 of file hash.h.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc, class ArrayElementHandler = csArrayElementHandler< CS::Container::HashElement<T, K> >>
Move the iterator back to the first element.
Definition at line 754 of file hash.h.
The documentation for this class was generated from the following file: