THashTableIterator< T > Class Template Reference

Iterator for a THashTable. More...

#include <thashtable.h>

Inheritance diagram for THashTableIterator< T >:
Inheritance graph
[legend]

Public Member Functions

 THashTableIterator (const THashTable< T > &)
 Constructor.
virtual bool done () const
virtual T & next ()
virtual T & previous ()
virtual T & current () const
virtual void first ()
virtual void last ()
const THashTable< T > & table () const
 Return table reference.

Detailed Description

template<class T>
class Steinberg::THashTableIterator< T >

Iterator for a THashTable.


Constructor & Destructor Documentation

THashTableIterator ( const THashTable< T > &  Tb  )  [inline]

Constructor.

Parameters:
[in] Tb (Table to iterate.

Member Function Documentation

bool done (  )  const [inline, virtual]

Check if end of container is reached.

Returns:
true, if done iterating.
false, if there are still items left.

Implements TIterator< T >.

T & next (  )  [inline, virtual]

Returns the current data and advances the iterator. postfix as in t = c++;.

Returns:
Next item.

Implements TIterator< T >.

T & previous (  )  [inline, virtual]

Returns the current data and backup. postfix as in t = c--;.

Returns:
Previous item.

Implements TIterator< T >.

T & current (  )  const [inline, virtual]

Returns the current data.

Returns:
Current item.

Implements TIterator< T >.

void first (  )  [inline, virtual]

Move to first data.

Implements TIterator< T >.

void last (  )  [inline, virtual]

Move to last data.

Implements TIterator< T >.

const THashTable< T > & table (  )  const [inline]

Return table reference.

Returns:
Table of iterator.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.