C++ Reference
C++ Reference: Graph
ListGraph< NodeIndexType, ArcIndexType >::OutgoingHeadIterator
Detailed Description
template<typename NodeIndexType = int32, typename ArcIndexType = int32>
class util::ListGraph< NodeIndexType, ArcIndexType >::OutgoingHeadIterator
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | difference_type = ptrdiff_t |
using | pointer = const NodeIndexType * |
using | reference = const NodeIndexType & |
using | value_type = NodeIndexType |
Public Member Functions | |
OutgoingHeadIterator (const ListGraph &graph, NodeIndexType node) | |
OutgoingHeadIterator (const ListGraph &graph, NodeIndexType node, ArcIndexType arc) | |
bool | Ok () const |
NodeIndexType | Index () const |
void | Next () |
bool | operator!= (const typename ListGraph< NodeIndexType, ArcIndexType >::OutgoingHeadIterator &other) const |
NodeIndexType | operator* () const |
void | operator++ () |
Member Typedef Documentation
◆ difference_type
using difference_type = ptrdiff_t |
◆ iterator_category
using iterator_category = std::input_iterator_tag |
◆ pointer
◆ reference
◆ value_type
using value_type = NodeIndexType |
Constructor & Destructor Documentation
◆ OutgoingHeadIterator() [1/2]
|
inline |
◆ OutgoingHeadIterator() [2/2]
|
inline |
Member Function Documentation
◆ Index()
◆ Next()
◆ Ok()
◆ operator!=()
|
inline |
◆ operator*()
◆ operator++()
The documentation for this class was generated from the following file: