Eclipse 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-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 DLR-Navteq (Elmar)-format
17 /****************************************************************************/
18 #ifndef PCLoaderDlrNavteq_h
19 #define PCLoaderDlrNavteq_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <string>
28 #include "PCPolyContainer.h"
29 #include "PCTypeMap.h"
31 
32 
33 // ===========================================================================
34 // class definitions
35 // ===========================================================================
36 class OptionsCont;
37 
38 
39 // ===========================================================================
40 // class declarations
41 // ===========================================================================
51 public:
69  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
70  PCTypeMap& tm);
71 
72 
73 protected:
84  static void loadPOIFiles(OptionsCont& oc, PCPolyContainer& toFill,
85  PCTypeMap& tm);
86 
87 
98  static void loadPolyFiles(OptionsCont& oc, PCPolyContainer& toFill,
99  PCTypeMap& tm);
100 
101 
109  static void loadPOIFile(const std::string& file,
110  OptionsCont& oc, PCPolyContainer& toFill,
111  PCTypeMap& tm);
112 
113 
121  static void loadPolyFile(const std::string& file,
122  OptionsCont& oc, PCPolyContainer& toFill,
123  PCTypeMap& tm);
124 
125 
126 };
127 
128 
129 #endif
130 
131 /****************************************************************************/
132 
PCTypeMap.h
PCLoaderDlrNavteq::loadIfSet
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored as according DLR-Navteq (Elmar)-files.
Definition: PCLoaderDlrNavteq.cpp:56
PCPolyContainer.h
PCLoaderDlrNavteq::loadPOIFile
static void loadPOIFile(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads DLR-Navteq (Elmar)-pois from the given file.
Definition: PCLoaderDlrNavteq.cpp:98
UtilExceptions.h
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:90
PCLoaderDlrNavteq::loadPOIFiles
static void loadPOIFiles(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois assumed to be stored as according DLR-Navteq (Elmar)-files.
Definition: PCLoaderDlrNavteq.cpp:68
PCLoaderDlrNavteq
A reader of pois and polygons stored in DLR-Navteq (Elmar)-format.
Definition: PCLoaderDlrNavteq.h:50
PCLoaderDlrNavteq::loadPolyFiles
static void loadPolyFiles(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads polygons assumed to be stored as according DLR-Navteq (Elmar)-files.
Definition: PCLoaderDlrNavteq.cpp:83
PCPolyContainer
A storage for loaded polygons and pois.
Definition: PCPolyContainer.h:51
config.h
PCLoaderDlrNavteq::loadPolyFile
static void loadPolyFile(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads DLR-Navteq (Elmar)-polygons from the given file.
Definition: PCLoaderDlrNavteq.cpp:170
PCTypeMap
A storage for type mappings.
Definition: PCTypeMap.h:45