Google OR-Tools: util::ArcPropertyIterator< Graph, ArcIterator, PropertyT, property

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>
class util::ArcPropertyIterator< Graph, ArcIterator, PropertyT, property >

Definition at line 331 of file graph.h.

#include <graph.h>

Public Types

using value_type = PropertyT
using difference_type = std::ptrdiff_t

Public Member Functions

 ArcPropertyIterator ()=default
 ArcPropertyIterator (const Graph &graph, ArcIterator arc_it)
value_type operator* () const
ArcPropertyIteratoroperator++ ()
ArcPropertyIterator operator++ (int)

Friends

bool operator== (const ArcPropertyIterator &l, const ArcPropertyIterator &r)
bool operator!= (const ArcPropertyIterator &l, const ArcPropertyIterator &r)

◆ difference_type

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

◆ value_type

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

◆ ArcPropertyIterator() [2/2]

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

◆ operator*()

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

◆ operator++() [1/2]

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

◆ operator++() [2/2]

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

◆ operator!=

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

bool operator!= ( const ArcPropertyIterator< Graph, ArcIterator, PropertyT, property > & l,
const ArcPropertyIterator< Graph, ArcIterator, PropertyT, property > & r )
friend

◆ operator==

template<typename Graph, typename ArcIterator, typename PropertyT, PropertyT(Graph::*)(typename Graph::ArcIndex) const property>

bool operator== ( const ArcPropertyIterator< Graph, ArcIterator, PropertyT, property > & l,
const ArcPropertyIterator< Graph, ArcIterator, PropertyT, property > & r )
friend

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