SUMO - Simulation of Urban MObility
PCLoaderArcView.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 from shape files
19 /****************************************************************************/
20 #ifndef PCLoaderArcView_h
21 #define PCLoaderArcView_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>
35 
36 
37 // ===========================================================================
38 // class declarations
39 // ===========================================================================
40 class OptionsCont;
41 class PCPolyContainer;
42 class PCTypeMap;
43 
44 
45 // ===========================================================================
46 // class definitions
47 // ===========================================================================
58 public:
71  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
72  PCTypeMap& tm);
73 
74 
75 protected:
82  static void load(const std::string& file, OptionsCont& oc, PCPolyContainer& toFill,
83  PCTypeMap& tm);
84 
85 
86 private:
89 
92 
93 };
94 
95 
96 #endif
97 
98 /****************************************************************************/
99 
A reader of pois and polygons from shape files.
PCLoaderArcView & operator=(const PCLoaderArcView &)
Invalidated assignment operator.
A storage for loaded polygons and pois.
PCLoaderArcView(const PCLoaderArcView &)
Invalidated copy constructor.
A storage for type mappings.
Definition: PCTypeMap.h:51
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored as shape files-files.
static void load(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Parses pois/polys stored within the given file.
A storage for options typed value containers)
Definition: OptionsCont.h:98