CrystalSpace

Public API Reference

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

csStringHashIterator Class Reference

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

#include <strhash.h>

List of all members.

Public Methods

 csStringHashIterator (csStringHash *hash)
 Constructor for an iterator to iterate over all elements in a hashmap. More...

bool HasNext ()
 Is there a next element in this iterator? More...

csStringID Next ()
 Get the next element. More...


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 43 of file strhash.h.


Constructor & Destructor Documentation

csStringHashIterator::csStringHashIterator csStringHash   hash
 

Constructor for an iterator to iterate over all elements in a hashmap.

Note that you should not do changes on the hashmap when you have open iterators.


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.2.14