SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
NILoader.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// Perfoms network import
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12
// Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
13
/****************************************************************************/
14
//
15
// This file is part of SUMO.
16
// SUMO is free software: you can redistribute it and/or modify
17
// it under the terms of the GNU General Public License as published by
18
// the Free Software Foundation, either version 3 of the License, or
19
// (at your option) any later version.
20
//
21
/****************************************************************************/
22
#ifndef NILoader_h
23
#define NILoader_h
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include <string>
36
#include <vector>
37
#include <xercesc/sax2/SAX2XMLReader.hpp>
38
39
40
// ===========================================================================
41
// class declarations
42
// ===========================================================================
43
class
OptionsCont
;
44
class
SUMOSAXHandler
;
45
class
NBNetBuilder
;
46
class
Position
;
47
class
PositionVector
;
48
49
50
// ===========================================================================
51
// class definitions
52
// ===========================================================================
59
class
NILoader
{
60
public
:
64
NILoader
(
NBNetBuilder
& nb);
65
66
68
~NILoader
();
69
70
72
void
load
(
OptionsCont
& oc);
73
74
private
:
76
//void loadSUMO(OptionsCont &oc);
77
79
void
loadXML
(
OptionsCont
& oc);
80
82
void
loadXMLType
(
SUMOSAXHandler
* handler,
83
const
std::vector<std::string>& files,
const
std::string& type);
84
85
private
:
87
NBNetBuilder
&
myNetBuilder
;
88
89
90
private
:
92
NILoader
(
const
NILoader
&);
93
95
NILoader
&
operator=
(
const
NILoader
&);
96
97
98
};
99
100
101
#endif
102
103
/****************************************************************************/
104
build
buildd
sumo-0.18~dfsg
src
netimport
NILoader.h
Generated on Wed Oct 23 2013 01:15:11 for SUMO - Simulation of Urban MObility by
1.8.4