Eclipse SUMO - Simulation of Urban MObility
NITypeLoader.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 NITypeLoader_h
19 #define NITypeLoader_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 SUMOSAXHandler;
37 class NBNetBuilder;
38 class Position;
39 class PositionVector;
40 
41 
42 
43 class NITypeLoader {
49 public:
51  static void load(SUMOSAXHandler* handler, const std::vector<std::string>& files,
52  const std::string& type, const bool stringParse = false);
53 };
54 
55 
56 #endif
57 
58 /****************************************************************************/
59 
NITypeLoader
loads a specificy type of xml file.
Definition: NITypeLoader.h:43
SUMOSAXHandler
SAX-handler base for SUMO-files.
Definition: SUMOSAXHandler.h:41
NBNetBuilder
Instance responsible for building networks.
Definition: NBNetBuilder.h:109
NITypeLoader::load
static void load(SUMOSAXHandler *handler, const std::vector< std::string > &files, const std::string &type, const bool stringParse=false)
Definition: NITypeLoader.cpp:43
PositionVector
A list of positions.
Definition: PositionVector.h:45
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
config.h