|
OpenTTD Source 20260206-master-g4d4e37dbf1
|
Iterator class for getting the edges in the order of their next_edge members. More...
Public Member Functions | |
| GraphEdgeIterator (LinkGraphJob &job) | |
| Construct a GraphEdgeIterator. | |
| void | SetNode (NodeID, NodeID node) |
| Setup the node to start iterating at. | |
| NodeID | Next () |
| Retrieve the ID of the node the next edge points to. | |
Private Attributes | |
| LinkGraphJob & | job |
| Job being executed. | |
| std::vector< LinkGraphJob::EdgeAnnotation >::const_iterator | i |
| Iterator pointing to current edge. | |
| std::vector< LinkGraphJob::EdgeAnnotation >::const_iterator | end |
| Iterator pointing beyond last edge. | |
Iterator class for getting the edges in the order of their next_edge members.
|
inline |
|
inline |
|
inline |
|
private |
Iterator pointing beyond last edge.
Definition at line 106 of file mcf.cpp.
Referenced by GraphEdgeIterator().
|
private |
Iterator pointing to current edge.
Definition at line 105 of file mcf.cpp.
Referenced by GraphEdgeIterator().
|
private |