CrystalSpace

Public API Reference

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

csStringHashIterator Class Reference

An iterator to iterate over elements in a csStringHash. More...

#include <csutil/strhash.h>

List of all members.

Public Member Functions

 csStringHashIterator (csStringHash *)
 Construct an iterator to iterate over all elements in the string hash.
virtual ~csStringHashIterator ()
 Destructor.
bool HasNext ()
 Is there a next element in this iterator?
csStringID Next ()
 Get the next element.

Friends

class csStringHash


Detailed Description

An iterator to iterate over elements in a csStringHash.

When you have an open iterator you should not alter the string hash that this object iterates over.

Definition at line 112 of file strhash.h.


Constructor & Destructor Documentation

csStringHashIterator::csStringHashIterator csStringHash  ) 
 

Construct an iterator to iterate over all elements in the string hash.

Remarks:
You should not make changes to the hashmap when you have open iterators.

virtual csStringHashIterator::~csStringHashIterator  )  [virtual]
 

Destructor.


Member Function Documentation

bool csStringHashIterator::HasNext  ) 
 

Is there a next element in this iterator?

csStringID csStringHashIterator::Next  ) 
 

Get the next element.


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