DREAM::Iterator< item_type > Class Template Reference

Iterator class for DREAM::AVLTree. More...

#include <Iterator.h>

List of all members.

Public Member Functions

 Iterator ()
 Constructor.
 Iterator (item_type *node_ptr)
 Constructor.
 Iterator (Iterator< item_type > &iter)
 Constructor.
bool operator== (const item_type *node_ptr)
 Equivalence operator.
bool operator== (Iterator< item_type > &iter)
 Equivalence operator.
bool operator== (Const_Iterator< item_type > &iter)
 Equivalence operator.
bool operator!= (const item_type *node_ptr)
 Equivalence operator.
bool operator!= (Iterator< item_type > &iter)
 Equivalence operator.
bool operator!= (Const_Iterator< item_type > &iter)
 Equivalence operator.
Iterator< item_type > & operator= (item_type *node_ptr)
 Assignment operator.
Iterator< item_type > & operator= (Iterator< item_type > &iter)
 Assignment operator.
item_type * operator * ()
 * operator.
item_type * operator-> ()
 ->operator.
Iterator< item_type > & operator++ ()
 prefix ++ operator.
Iterator< item_type > & operator-- ()
 prefix -- operator.
Iterator< item_type > operator++ (int)
 postfix ++ operator.
Iterator< item_type > operator-- (int)
 postfix -- operator.
Iterator< item_type > & operator & ()
 & operator.
Iterator< item_type > & operator & (int)
 & operator.

Protected Attributes

item_type * node_ptr_
 Pointer to the current node in the AVLTree.


Detailed Description

template<class item_type>
class DREAM::Iterator< item_type >

Iterator class for DREAM::AVLTree.

Definition at line 68 of file Iterator.h.


Constructor & Destructor Documentation

template<class item_type>
DREAM::Iterator< item_type >::Iterator (  )  [inline]

Constructor.

Definition at line 72 of file Iterator.h.

template<class item_type>
DREAM::Iterator< item_type >::Iterator ( item_type *  node_ptr  ) 

Constructor.

Definition at line 66 of file Iterator.cpp.

template<class item_type>
DREAM::Iterator< item_type >::Iterator ( Iterator< item_type > &  iter  ) 

Constructor.

Definition at line 72 of file Iterator.cpp.


Member Function Documentation

template<class item_type>
bool DREAM::Iterator< item_type >::operator== ( const item_type *  node_ptr  )  [inline]

Equivalence operator.

Definition at line 78 of file Iterator.cpp.

template<class item_type>
bool DREAM::Iterator< item_type >::operator== ( Iterator< item_type > &  iter  )  [inline]

Equivalence operator.

Definition at line 84 of file Iterator.cpp.

template<class item_type>
bool DREAM::Iterator< item_type >::operator== ( Const_Iterator< item_type > &  iter  )  [inline]

Equivalence operator.

Definition at line 90 of file Iterator.cpp.

template<class item_type>
bool DREAM::Iterator< item_type >::operator!= ( const item_type *  node_ptr  )  [inline]

Equivalence operator.

Definition at line 96 of file Iterator.cpp.

template<class item_type>
bool DREAM::Iterator< item_type >::operator!= ( Iterator< item_type > &  iter  )  [inline]

Equivalence operator.

Definition at line 102 of file Iterator.cpp.

template<class item_type>
bool DREAM::Iterator< item_type >::operator!= ( Const_Iterator< item_type > &  iter  )  [inline]

Equivalence operator.

Definition at line 108 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > & DREAM::Iterator< item_type >::operator= ( item_type *  node_ptr  )  [inline]

Assignment operator.

Definition at line 114 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > & DREAM::Iterator< item_type >::operator= ( Iterator< item_type > &  iter  )  [inline]

Assignment operator.

Definition at line 121 of file Iterator.cpp.

template<class item_type>
item_type * DREAM::Iterator< item_type >::operator * (  )  [inline]

* operator.

Definition at line 128 of file Iterator.cpp.

template<class item_type>
item_type * DREAM::Iterator< item_type >::operator-> (  )  [inline]

->operator.

Definition at line 134 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > & DREAM::Iterator< item_type >::operator++ (  )  [inline]

prefix ++ operator.

Definition at line 140 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > & DREAM::Iterator< item_type >::operator-- (  )  [inline]

prefix -- operator.

Definition at line 152 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > DREAM::Iterator< item_type >::operator++ ( int   ) 

postfix ++ operator.

Definition at line 164 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > DREAM::Iterator< item_type >::operator-- ( int   ) 

postfix -- operator.

Definition at line 179 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > & DREAM::Iterator< item_type >::operator & (  )  [inline]

& operator.

Definition at line 194 of file Iterator.cpp.

template<class item_type>
Iterator< item_type > & DREAM::Iterator< item_type >::operator & ( int   )  [inline]

& operator.

Definition at line 200 of file Iterator.cpp.


Member Data Documentation

template<class item_type>
item_type* DREAM::Iterator< item_type >::node_ptr_ [protected]

Pointer to the current node in the AVLTree.

Definition at line 131 of file Iterator.h.


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 18:30:04 2007 for DREAM by  doxygen 1.5.1