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
PCNetProjectionLoader.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// A reader for a SUMO network's projection description
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 PCNetProjectionLoader_h
23
#define PCNetProjectionLoader_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 <
utils/xml/SUMOSAXHandler.h
>
37
#include <
utils/common/UtilExceptions.h
>
38
#include <
utils/geom/Position.h
>
39
40
41
// ===========================================================================
42
// class definitions
43
// ===========================================================================
44
class
OptionsCont
;
45
46
47
// ===========================================================================
48
// class declarations
49
// ===========================================================================
54
class
PCNetProjectionLoader
:
public
SUMOSAXHandler
{
55
public
:
61
static
void
load
(
const
std::string& file,
int
shift);
62
63
64
protected
:
67
PCNetProjectionLoader
(
int
shift);
68
69
71
~PCNetProjectionLoader
();
72
73
77
bool
hasReadAll
()
const
;
78
79
80
protected
:
82
83
91
virtual
void
myStartElement
(
int
element,
92
const
SUMOSAXAttributes
& attrs);
94
95
96
private
:
98
bool
myFoundLocation
;
99
101
int
myShift
;
102
103
104
};
105
106
107
#endif
108
109
/****************************************************************************/
110
build
buildd
sumo-0.18~dfsg
src
polyconvert
PCNetProjectionLoader.h
Generated on Wed Oct 23 2013 01:15:12 for SUMO - Simulation of Urban MObility by
1.8.4