csHash< T, K, ArrayMemoryAlloc >::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. | |
| 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 (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 >::Iterator
An iterator class for the hash. 
Definition at line 590 of file hash.h.
Constructor & Destructor Documentation
Member Function Documentation
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc> 
      | bool csHash< T, K, ArrayMemoryAlloc >::Iterator::HasNext | ( | ) | const  [inline] | 
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc> 
      | T& csHash< T, K, ArrayMemoryAlloc >::Iterator::Next | ( | ) |  [inline] | 
Get the next element's value.
Definition at line 641 of file hash.h.
References csHash< T, K, ArrayMemoryAlloc >::Elements.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc> 
      | Iterator& csHash< T, K, ArrayMemoryAlloc >::Iterator::operator= | ( | const Iterator & | o | ) |  [inline] | 
Assignment operator.
Definition at line 624 of file hash.h.
References csHash< T, K, ArrayMemoryAlloc >::Iterator::bucket, csHash< T, K, ArrayMemoryAlloc >::Iterator::element, csHash< T, K, ArrayMemoryAlloc >::Iterator::hash, csHash< T, K, ArrayMemoryAlloc >::Iterator::key, and csHash< T, K, ArrayMemoryAlloc >::Iterator::size.
template<class T, class K = unsigned int, class ArrayMemoryAlloc = CS::Memory::AllocatorMalloc> 
      | void csHash< T, K, ArrayMemoryAlloc >::Iterator::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

