Eclipse SUMO - Simulation of Urban MObility
NILoader.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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
16 // Perfoms network import
17 /****************************************************************************/
18 #ifndef NILoader_h
19 #define NILoader_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <string>
28 #include <vector>
29 #include <xercesc/sax2/SAX2XMLReader.hpp>
30 
31 
32 // ===========================================================================
33 // class declarations
34 // ===========================================================================
35 class OptionsCont;
36 class NBNetBuilder;
37 class Position;
38 class PositionVector;
39 
40 
41 // ===========================================================================
42 // class definitions
43 // ===========================================================================
50 class NILoader {
51 public:
56 
57 
59  ~NILoader();
60 
61 
63  void load(OptionsCont& oc);
64 
65 
66 private:
68  //void loadSUMO(OptionsCont &oc);
69 
71  void loadXML(OptionsCont& oc);
72 
73 
74 private:
77 
78 
79 private:
81  NILoader(const NILoader&);
82 
85 
86 
87 };
88 
89 
90 #endif
91 
92 /****************************************************************************/
93 
NBNetBuilder
Instance responsible for building networks.
Definition: NBNetBuilder.h:109
NILoader::operator=
NILoader & operator=(const NILoader &)
Invalidated assignment operator.
PositionVector
A list of positions.
Definition: PositionVector.h:45
NILoader::~NILoader
~NILoader()
Destructor.
Definition: NILoader.cpp:69
NILoader
Perfoms network import.
Definition: NILoader.h:50
Position
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:38
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:89
NILoader::load
void load(OptionsCont &oc)
Definition: NILoader.cpp:72
NILoader::loadXML
void loadXML(OptionsCont &oc)
Definition: NILoader.cpp:148
NILoader::NILoader
NILoader(const NILoader &)
Invalidated copy constructor.
NILoader::myNetBuilder
NBNetBuilder & myNetBuilder
The network builder to fill with loaded data.
Definition: NILoader.h:76
config.h
NILoader::NILoader
NILoader(NBNetBuilder &nb)
Constructor.
Definition: NILoader.cpp:66