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 /****************************************************************************/
15 // A reader of pois and polygons stored in DLR-Navteq (Elmar)-format
16 /****************************************************************************/
17 #ifndef PCLoaderDlrNavteq_h
18 #define PCLoaderDlrNavteq_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <string>
27 #include "PCPolyContainer.h"
28 #include "PCTypeMap.h"
30 
31 
32 // ===========================================================================
33 // class definitions
34 // ===========================================================================
35 class OptionsCont;
36 
37 
38 // ===========================================================================
39 // class declarations
40 // ===========================================================================
50 public:
68  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
69  PCTypeMap& tm);
70 
71 
72 protected:
83  static void loadPOIFiles(OptionsCont& oc, PCPolyContainer& toFill,
84  PCTypeMap& tm);
85 
86 
97  static void loadPolyFiles(OptionsCont& oc, PCPolyContainer& toFill,
98  PCTypeMap& tm);
99 
100 
108  static void loadPOIFile(const std::string& file,
109  OptionsCont& oc, PCPolyContainer& toFill,
110  PCTypeMap& tm);
111 
112 
120  static void loadPolyFile(const std::string& file,
121  OptionsCont& oc, PCPolyContainer& toFill,
122  PCTypeMap& tm);
123 
124 
125 };
126 
127 
128 #endif
129 
130 /****************************************************************************/
131 
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:55
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:97
UtilExceptions.h
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:89
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:67
PCLoaderDlrNavteq
A reader of pois and polygons stored in DLR-Navteq (Elmar)-format.
Definition: PCLoaderDlrNavteq.h:49
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:82
PCPolyContainer
A storage for loaded polygons and pois.
Definition: PCPolyContainer.h:50
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:169
PCTypeMap
A storage for type mappings.
Definition: PCTypeMap.h:44