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