SUMO - Simulation of Urban MObility
PCLoaderDlrNavteq.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 DLR-Navteq (Elmar)-format
19 /****************************************************************************/
20 #ifndef PCLoaderDlrNavteq_h
21 #define PCLoaderDlrNavteq_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"
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
42 class OptionsCont;
43 
44 
45 // ===========================================================================
46 // class declarations
47 // ===========================================================================
57 public:
75  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
76  PCTypeMap& tm);
77 
78 
79 protected:
90  static void loadPOIFiles(OptionsCont& oc, PCPolyContainer& toFill,
91  PCTypeMap& tm);
92 
93 
104  static void loadPolyFiles(OptionsCont& oc, PCPolyContainer& toFill,
105  PCTypeMap& tm);
106 
107 
115  static void loadPOIFile(const std::string& file,
116  OptionsCont& oc, PCPolyContainer& toFill,
117  PCTypeMap& tm);
118 
119 
127  static void loadPolyFile(const std::string& file,
128  OptionsCont& oc, PCPolyContainer& toFill,
129  PCTypeMap& tm);
130 
131 
132 };
133 
134 
135 #endif
136 
137 /****************************************************************************/
138 
static void loadPOIFiles(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois assumed to be stored as according DLR-Navteq (Elmar)-files.
static void loadPolyFiles(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads polygons assumed to be stored as according DLR-Navteq (Elmar)-files.
A storage for loaded polygons and pois.
A reader of pois and polygons stored in DLR-Navteq (Elmar)-format.
A storage for type mappings.
Definition: PCTypeMap.h:51
static void loadPolyFile(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads DLR-Navteq (Elmar)-polygons from the given file.
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored as according DLR-Navteq (Elmar)-files.
A storage for options typed value containers)
Definition: OptionsCont.h:98
static void loadPOIFile(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads DLR-Navteq (Elmar)-pois from the given file.