|
OpenTTD Source 20251104-master-g3befbdd52f
|
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 |
Construct a GraphEdgeIterator.
| job | Job to iterate on. |
|
inline |
|
inline |
|
private |
|
private |
|
private |