Public Member Functions | Protected Member Functions | Protected Attributes

zeus::TGraphIterator Class Reference

#include <GraphIterator.h>

Inheritance diagram for zeus::TGraphIterator:
zeus::TGraphBreathIterator zeus::TGraphDepthIterator

List of all members.

Public Member Functions

 TGraphIterator (TGraph &rGraph)
void startWith (Uint uiVertice) const
virtual void reset ()=0
virtual Retval getNextVertice (TVertice *&rpVertice)=0
Retval getNextVerticeConst (TVertice *&rpVertice) const

Protected Member Functions

virtual ~TGraphIterator ()

Protected Attributes

TGraphm_rGraph
 graph
TVerticem_pStartVertice
 Start vertice.

Detailed Description

Iterator class to iterate through the graph of vertices


Constructor & Destructor Documentation

TGraphIterator::TGraphIterator ( TGraph rGraph )

creates a new graph iterator

TGraphIterator::~TGraphIterator (  ) [protected, virtual]

destroys the iterator


Member Function Documentation

virtual Retval zeus::TGraphIterator::getNextVertice ( TVertice *&  rpVertice ) [pure virtual]
Retval zeus::TGraphIterator::getNextVerticeConst ( TVertice *&  rpVertice ) const [inline]
virtual void zeus::TGraphIterator::reset (  ) [pure virtual]
void TGraphIterator::startWith ( Uint  uiVertice ) const

starts with a specific vertice

Parameters:
uiVertice: ID of the vertice to start with

Member Data Documentation

Start vertice.

graph


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:32:27