frepple::utils::HasHierarchy< T >::memberIterator Class Reference

This class models an STL-like iterator that allows us to iterate over the members. More...

#include <utils.h>

List of all members.

Public Member Functions

 memberIterator (const memberIterator &it)
 memberIterator (HasHierarchy< T > *x)
bool operator!= (const memberIterator &y) const
T & operator* () const
memberIterator operator++ (int)
memberIteratoroperator++ ()
T * operator-> () const
bool operator== (const memberIterator &y) const

Detailed Description

template<class T>
class frepple::utils::HasHierarchy< T >::memberIterator

This class models an STL-like iterator that allows us to iterate over the members.

Objects of this class are created by the begin() and end() functions.

Definition at line 4844 of file utils.h.


Constructor & Destructor Documentation

template<class T>
frepple::utils::HasHierarchy< T >::memberIterator::memberIterator ( HasHierarchy< T > *  x  )  [inline]

Constructor.

Definition at line 4848 of file utils.h.

template<class T>
frepple::utils::HasHierarchy< T >::memberIterator::memberIterator ( const memberIterator it  )  [inline]

Copy constructor.

Definition at line 4851 of file utils.h.


Member Function Documentation

template<class T>
bool frepple::utils::HasHierarchy< T >::memberIterator::operator!= ( const memberIterator y  )  const [inline]

Inequality operator.

Definition at line 4878 of file utils.h.

template<class T>
T& frepple::utils::HasHierarchy< T >::memberIterator::operator* (  )  const [inline]

Return the content of the current node.

Definition at line 4854 of file utils.h.

template<class T>
memberIterator frepple::utils::HasHierarchy< T >::memberIterator::operator++ ( int   )  [inline]

Post-increment operator which moves the pointer to the next element.

Definition at line 4866 of file utils.h.

template<class T>
memberIterator& frepple::utils::HasHierarchy< T >::memberIterator::operator++ (  )  [inline]

Pre-increment operator which moves the pointer to the next member.

Definition at line 4861 of file utils.h.

template<class T>
T* frepple::utils::HasHierarchy< T >::memberIterator::operator-> (  )  const [inline]

Return the content of the current node.

Definition at line 4857 of file utils.h.

template<class T>
bool frepple::utils::HasHierarchy< T >::memberIterator::operator== ( const memberIterator y  )  const [inline]

Comparison operator.

Definition at line 4874 of file utils.h.


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

Generated on 16 Apr 2010 for frePPLe by  doxygen 1.6.1