csHash< T, K, ArrayMemoryAlloc >::ConstIterator Class Reference
An const iterator class for the hash. More...
#include <csutil/hash.h>
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. | |
Protected Member Functions | |
ConstIterator (const csHash< T, K > *hash0, const K &key0) | |
Friends | |
class | csHash< T, K > |
Detailed Description
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
class csHash< T, K, ArrayMemoryAlloc >::ConstIterator
An const iterator class for the hash.
Definition at line 759 of file hash.h.
Constructor & Destructor Documentation
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
csHash< T, K, ArrayMemoryAlloc >::ConstIterator::ConstIterator | ( | const ConstIterator & | o | ) | [inline] |
Member Function Documentation
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
bool csHash< T, K, ArrayMemoryAlloc >::ConstIterator::HasNext | ( | ) | const [inline] |
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
const T& csHash< T, K, ArrayMemoryAlloc >::ConstIterator::Next | ( | ) | [inline] |
Get the next element's value.
Definition at line 810 of file hash.h.
References csHash< T, K, ArrayMemoryAlloc >::Elements.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
ConstIterator& csHash< T, K, ArrayMemoryAlloc >::ConstIterator::operator= | ( | const ConstIterator & | o | ) | [inline] |
Assignment operator.
Definition at line 793 of file hash.h.
References csHash< T, K, ArrayMemoryAlloc >::ConstIterator::bucket, csHash< T, K, ArrayMemoryAlloc >::ConstIterator::element, csHash< T, K, ArrayMemoryAlloc >::ConstIterator::hash, csHash< T, K, ArrayMemoryAlloc >::ConstIterator::key, and csHash< T, K, ArrayMemoryAlloc >::ConstIterator::size.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc>
void csHash< T, K, ArrayMemoryAlloc >::ConstIterator::Reset | ( | ) | [inline] |
The documentation for this class was generated from the following file:
- csutil/hash.h
Generated for Crystal Space by doxygen 1.4.7