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-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
18 // A reader of pois and polygons stored in VISUM-format
19 /****************************************************************************/
20 #ifndef PCLoaderVisum_h
21 #define PCLoaderVisum_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <string>
34 #include "PCPolyContainer.h"
35 #include "PCTypeMap.h"
36 
37 
38 // ===========================================================================
39 // class definitions
40 // ===========================================================================
41 class OptionsCont;
42 
43 
44 // ===========================================================================
45 // class declarations
46 // ===========================================================================
52 public:
65  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
66  PCTypeMap& tm);
67 
68 
69 protected:
76  static void load(const std::string& file, OptionsCont& oc, PCPolyContainer& toFill,
77  PCTypeMap& tm);
78 
79 
80 };
81 
82 
83 #endif
84 
85 /****************************************************************************/
86 
static void load(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Parses pois/polys stored within the given file.
A storage for loaded polygons and pois.
A storage for type mappings.
Definition: PCTypeMap.h:51
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored using VISUM-format.
A storage for options typed value containers)
Definition: OptionsCont.h:98
A reader of pois and polygons stored in VISUM-format.
Definition: PCLoaderVisum.h:51