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-2018 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 // ===========================================================================
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 
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:45
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:92
A reader of pois and polygons stored in VISUM-format.
Definition: PCLoaderVisum.h:45