dictionary_iterator Class Template Reference

#include <dictionary.hpp>

Collaboration diagram for dictionary_iterator:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<typename T, typename I>
class gsgl::data::dictionary_iterator< T, I >

Definition at line 397 of file dictionary.hpp.


Public Member Functions

const I & get_index () const

Protected Member Functions

 dictionary_iterator (const dictionary_iterator &di)
 dictionary_iterator (const iterable< T, dictionary_iterator > &parent_iterable)
bool is_valid () const
const T & operator* () const
dictionary_iteratoroperator++ ()
dictionary_iteratoroperator= (const dictionary_iterator &di)

Private Attributes

dictionary< T, I >::dict_node * cur
data::simple_stack< typename
dictionary< T, I >::dict_node * > 
nodes_seen
const dictionary< T, I > & parent
dictionary< T, I >::dict_node * prev

Constructor & Destructor Documentation

dictionary_iterator ( const iterable< T, dictionary_iterator< T, I > > &  parent_iterable  )  [inline, protected]

Definition at line 405 of file dictionary.hpp.

dictionary_iterator ( const dictionary_iterator< T, I > &  di  )  [inline, protected]

Definition at line 413 of file dictionary.hpp.


Member Function Documentation

const I& get_index (  )  const [inline]

Definition at line 438 of file dictionary.hpp.

bool is_valid (  )  const [inline, protected]

Definition at line 425 of file dictionary.hpp.

const T& operator* (  )  const [inline, protected]

Definition at line 427 of file dictionary.hpp.

dictionary_iterator< T, I > & operator++ (  )  [inline, protected]

dictionary_iterator& operator= ( const dictionary_iterator< T, I > &  di  )  [inline, protected]


Member Data Documentation

dictionary<T,I>::dict_node* cur [private]

data::simple_stack<typename dictionary<T,I>::dict_node *> nodes_seen [private]

const dictionary<T,I>& parent [private]

Definition at line 399 of file dictionary.hpp.

Referenced by dictionary_iterator::operator=().

dictionary<T,I>::dict_node * prev [private]


The documentation for this class was generated from the following file:

Generated on Sat Mar 1 13:50:05 2008 for Periapsis Project by  doxygen 1.5.5