SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
PCLoaderDlrNavteq.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // A reader of pois and polygons stored in DLR-Navteq (Elmar)-format
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
11 // Copyright (C) 2001-2015 DLR (http://www.dlr.de/) and contributors
12 /****************************************************************************/
13 //
14 // This file is part of SUMO.
15 // SUMO is free software: you can redistribute it and/or modify
16 // it under the terms of the GNU General Public License as published by
17 // the Free Software Foundation, either version 3 of the License, or
18 // (at your option) any later version.
19 //
20 /****************************************************************************/
21 #ifndef PCLoaderDlrNavteq_h
22 #define PCLoaderDlrNavteq_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #ifdef _MSC_VER
29 #include <windows_config.h>
30 #else
31 #include <config.h>
32 #endif
33 
34 #include <string>
35 #include "PCPolyContainer.h"
36 #include "PCTypeMap.h"
38 
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
43 class OptionsCont;
44 
45 
46 // ===========================================================================
47 // class declarations
48 // ===========================================================================
58 public:
76  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
77  PCTypeMap& tm);
78 
79 
80 protected:
91  static void loadPOIFiles(OptionsCont& oc, PCPolyContainer& toFill,
92  PCTypeMap& tm);
93 
94 
105  static void loadPolyFiles(OptionsCont& oc, PCPolyContainer& toFill,
106  PCTypeMap& tm);
107 
108 
116  static void loadPOIFile(const std::string& file,
117  OptionsCont& oc, PCPolyContainer& toFill,
118  PCTypeMap& tm);
119 
120 
128  static void loadPolyFile(const std::string& file,
129  OptionsCont& oc, PCPolyContainer& toFill,
130  PCTypeMap& tm);
131 
132 
133 };
134 
135 
136 #endif
137 
138 /****************************************************************************/
139 
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:52
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:108
static void loadPOIFile(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads DLR-Navteq (Elmar)-pois from the given file.