SUMO - Simulation of Urban MObility
NBCont.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // Some typedef definitions fir containers
19 /****************************************************************************/
20 #ifndef NBCont_h
21 #define NBCont_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #include <vector>
28 #include <set>
29 
30 #ifdef _MSC_VER
31 #include <windows_config.h>
32 #else
33 #include <config.h>
34 #endif
35 
36 
37 // ===========================================================================
38 // class declarations
39 // ===========================================================================
40 class NBEdge;
41 
42 
43 // ===========================================================================
44 // container definitions
45 // ===========================================================================
47 typedef std::vector<NBEdge*> EdgeVector;
48 
50 typedef std::set<NBEdge*> EdgeSet;
51 
53 typedef std::vector<int> LaneVector;
54 
55 
56 #endif
57 
58 /****************************************************************************/
59 
The representation of a single edge during network building.
Definition: NBEdge.h:70
std::vector< int > LaneVector
container for (sorted) lanes. The lanes are sorted from rightmost (id=0) to leftmost (id=nolanes-1) ...
Definition: NBCont.h:53
std::set< NBEdge * > EdgeSet
container for unique edges
Definition: NBCont.h:50
std::vector< NBEdge * > EdgeVector
container for (sorted) edges
Definition: NBCont.h:40