CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator Class Reference
An iterator class for WeakKeyedHash. More...
#include <csutil/weakkeyedhash.h>
Public Member Functions | |
| void | Advance () |
| Advance the iterator of one step. | |
| ConstGlobalIterator (const ConstGlobalIterator &o) | |
| Copy constructor. | |
| bool | HasNext () const |
| Returns a boolean indicating whether or not the hash has more elements. | |
| const T & | Next (K &key) |
| Get the next element's value and key. | |
| const T & | Next () |
| Get the next element's value. | |
| const T & | NextNoAdvance (K &key) |
| Get the next element's value and key, don't move the iterator. | |
| const T & | NextNoAdvance () |
| Get the next element's value, don't move the iterator. | |
| const csTuple2< T, K > | NextTuple () |
| Return a tuple of the value and key. | |
| ConstGlobalIterator & | operator= (const ConstGlobalIterator &o) |
| Assignment operator. | |
| void | Reset () |
| Move the iterator back to the first element. | |
Detailed Description
template<class T, class K, class ArrayMemoryAlloc = CS::Container::ArrayAllocDefault, class ArrayElementHandler = csArraySafeCopyElementHandler< CS::Container::HashElement<T, K> >>
class CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator
An iterator class for WeakKeyedHash.
Definition at line 342 of file weakkeyedhash.h.
Constructor & Destructor Documentation
| CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::ConstGlobalIterator | ( | const ConstGlobalIterator & | o | ) | [inline] |
Copy constructor.
Definition at line 382 of file weakkeyedhash.h.
Member Function Documentation
| void CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::Advance | ( | ) | [inline] |
Advance the iterator of one step.
Definition at line 402 of file weakkeyedhash.h.
| bool CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::HasNext | ( | ) | const [inline] |
Returns a boolean indicating whether or not the hash has more elements.
Definition at line 396 of file weakkeyedhash.h.
| const T& CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::Next | ( | K & | key | ) | [inline] |
Get the next element's value and key.
Definition at line 430 of file weakkeyedhash.h.
| const T& CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::Next | ( | ) | [inline] |
Get the next element's value.
Definition at line 415 of file weakkeyedhash.h.
| const T& CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::NextNoAdvance | ( | K & | key | ) | [inline] |
Get the next element's value and key, don't move the iterator.
Definition at line 423 of file weakkeyedhash.h.
| const T& CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::NextNoAdvance | ( | ) | [inline] |
Get the next element's value, don't move the iterator.
Definition at line 409 of file weakkeyedhash.h.
| const csTuple2<T, K> CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::NextTuple | ( | ) | [inline] |
Return a tuple of the value and key.
Definition at line 437 of file weakkeyedhash.h.
| ConstGlobalIterator& CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::operator= | ( | const ConstGlobalIterator & | o | ) | [inline] |
Assignment operator.
Definition at line 386 of file weakkeyedhash.h.
| void CS::Container::WeakKeyedHash< T, K, ArrayMemoryAlloc, ArrayElementHandler >::ConstGlobalIterator::Reset | ( | ) | [inline] |
Move the iterator back to the first element.
Definition at line 446 of file weakkeyedhash.h.
The documentation for this class was generated from the following file:
- csutil/weakkeyedhash.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
