Eclipse SUMO - Simulation of Urban MObility
PCLoaderVisum.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
// A reader of pois and polygons stored in VISUM-format
17
/****************************************************************************/
18
#ifndef PCLoaderVisum_h
19
#define PCLoaderVisum_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
#include <string>
28
#include "
PCPolyContainer.h
"
29
#include "
PCTypeMap.h
"
30
31
32
// ===========================================================================
33
// class definitions
34
// ===========================================================================
35
class
OptionsCont
;
36
37
38
// ===========================================================================
39
// class declarations
40
// ===========================================================================
45
class
PCLoaderVisum
{
46
public
:
59
static
void
loadIfSet
(
OptionsCont
& oc,
PCPolyContainer
& toFill,
60
PCTypeMap
& tm);
61
62
63
protected
:
70
static
void
load
(
const
std::string& file,
OptionsCont
& oc,
PCPolyContainer
& toFill,
71
PCTypeMap
& tm);
72
73
74
};
75
76
77
#endif
78
79
/****************************************************************************/
80
PCTypeMap.h
PCLoaderVisum::load
static void load(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Parses pois/polys stored within the given file.
Definition:
PCLoaderVisum.cpp:75
PCPolyContainer.h
OptionsCont
A storage for options typed value containers)
Definition:
OptionsCont.h:90
PCLoaderVisum::loadIfSet
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored using VISUM-format.
Definition:
PCLoaderVisum.cpp:55
PCLoaderVisum
A reader of pois and polygons stored in VISUM-format.
Definition:
PCLoaderVisum.h:45
PCPolyContainer
A storage for loaded polygons and pois.
Definition:
PCPolyContainer.h:51
config.h
PCTypeMap
A storage for type mappings.
Definition:
PCTypeMap.h:45
src
polyconvert
PCLoaderVisum.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16