Generated on: Thu Mar 29 07:46:58 PDT 2012 for custom file set
// doxy/ or-tools/ src/ graph/

operations_research::EbertGraphCore< NodeIndexType, ArcIndexType, DerivedGraph >::ArcIterator Class Reference

Iterator class for traversing the arcs in the graph. More...

#include <ebert_graph.h>

List of all members.

Public Member Functions

 ArcIterator (const DerivedGraph &graph)
bool Ok () const
 Returns true unless all the arcs have been traversed.
void Next ()
 Advances the current arc index.
ArcIndexType Index () const
 Returns the index of the arc currently pointed to by the iterator.


Detailed Description

template<typename NodeIndexType, typename ArcIndexType, typename DerivedGraph>
class operations_research::EbertGraphCore< NodeIndexType, ArcIndexType, DerivedGraph >::ArcIterator

Iterator class for traversing the arcs in the graph.

Definition at line 403 of file ebert_graph.h.


Constructor & Destructor Documentation

template<typename NodeIndexType, typename ArcIndexType, typename DerivedGraph>
operations_research::EbertGraphCore< NodeIndexType, ArcIndexType, DerivedGraph >::ArcIterator::ArcIterator ( const DerivedGraph &  graph  )  [inline, explicit]

Definition at line 405 of file ebert_graph.h.


Member Function Documentation

template<typename NodeIndexType, typename ArcIndexType, typename DerivedGraph>
bool operations_research::EbertGraphCore< NodeIndexType, ArcIndexType, DerivedGraph >::ArcIterator::Ok (  )  const [inline]

Returns true unless all the arcs have been traversed.

Definition at line 409 of file ebert_graph.h.

template<typename NodeIndexType, typename ArcIndexType, typename DerivedGraph>
void operations_research::EbertGraphCore< NodeIndexType, ArcIndexType, DerivedGraph >::ArcIterator::Next (  )  [inline]

Advances the current arc index.

Definition at line 412 of file ebert_graph.h.

template<typename NodeIndexType, typename ArcIndexType, typename DerivedGraph>
ArcIndexType operations_research::EbertGraphCore< NodeIndexType, ArcIndexType, DerivedGraph >::ArcIterator::Index (  )  const [inline]

Returns the index of the arc currently pointed to by the iterator.

Definition at line 415 of file ebert_graph.h.


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