CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csHash::Iterator Class Template Reference

An iterator class for the hash. More...

#include <hash.h>

List of all members.

Public Methods

bool HasNext () const
 Returns a boolean indicating whether or not the hash has more elements. More...

const T & Next ()
 Get the next element's value. More...

void DeleteNext ()
 Delete the next element. More...

void Return ()
 Move the iterator back to the first element. More...


Detailed Description

template<class T, class K = uint32, class KeyHandler = csIntegralHashKeyHandler<K>>
class csHash< T, K, KeyHandler >::Iterator

An iterator class for the hash.

Definition at line 255 of file hash.h.


Member Function Documentation

template<class T, class K = uint32, class KeyHandler = csIntegralHashKeyHandler<K>>
void csHash< T, K, KeyHandler >::Iterator::DeleteNext   [inline]
 

Delete the next element.

Definition at line 296 of file hash.h.

References csHash::Elements.

template<class T, class K = uint32, class KeyHandler = csIntegralHashKeyHandler<K>>
bool csHash< T, K, KeyHandler >::Iterator::HasNext   const [inline]
 

Returns a boolean indicating whether or not the hash has more elements.

Definition at line 281 of file hash.h.

template<class T, class K = uint32, class KeyHandler = csIntegralHashKeyHandler<K>>
const T& csHash< T, K, KeyHandler >::Iterator::Next   [inline]
 

Get the next element's value.

Definition at line 287 of file hash.h.

References csHash::Elements.

template<class T, class K = uint32, class KeyHandler = csIntegralHashKeyHandler<K>>
void csHash< T, K, KeyHandler >::Iterator::Return   [inline]
 

Move the iterator back to the first element.

Definition at line 302 of file hash.h.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14