OpenTTD Source: src/linkgraph/linkgraph_base.h Source File

OpenTTD Source 13.1

linkgraph_base.h
Go to the documentation of this file.
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
7
10 #ifndef LINKGRAPH_BASE_H
11 #define LINKGRAPH_BASE_H
12
13 #include "linkgraph.h"
14 #include "linkgraphschedule.h"
15
16 typedef LinkGraph::Node Node;
17 typedef LinkGraph::Edge Edge;
18 typedef LinkGraph::EdgeIterator EdgeIterator;
19
20 typedef LinkGraph::ConstNode ConstNode;
21 typedef LinkGraph::ConstEdge ConstEdge;
22 typedef LinkGraph::ConstEdgeIterator ConstEdgeIterator;
23
24
25 #endif /* LINKGRAPH_BASE_H */
LinkGraph::Node
Updatable node class.
Definition: linkgraph.h:380
LinkGraph::EdgeIterator
An iterator for non-const edges.
Definition: linkgraph.h:330
LinkGraph::ConstNode
Constant node class.
Definition: linkgraph.h:345
LinkGraph::Edge
An updatable edge class.
Definition: linkgraph.h:299
LinkGraph::EdgeWrapper
Wrapper for an edge (const or not) allowing retrieval, but no modification.
Definition: linkgraph.h:77
linkgraphschedule.h
LinkGraph::ConstEdgeIterator
An iterator for const edges.
Definition: linkgraph.h:315
linkgraph.h