Eclipse 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-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 from shape files
17 /****************************************************************************/
18 #ifndef PCLoaderArcView_h
19 #define PCLoaderArcView_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <string>
29 
30 
31 // ===========================================================================
32 // class declarations
33 // ===========================================================================
34 class OptionsCont;
35 class PCPolyContainer;
36 class PCTypeMap;
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
52 public:
65  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
66  PCTypeMap& tm);
67 
68 
69 protected:
76  static void load(const std::string& file, OptionsCont& oc, PCPolyContainer& toFill,
77  PCTypeMap& tm);
78 
79 
80 private:
83 
86 
87 };
88 
89 
90 #endif
91 
92 /****************************************************************************/
93 
PCLoaderArcView::operator=
PCLoaderArcView & operator=(const PCLoaderArcView &)
Invalidated assignment operator.
PCLoaderArcView::load
static void load(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Parses pois/polys stored within the given file.
Definition: PCLoaderArcView.cpp:71
UtilExceptions.h
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:90
PCLoaderArcView::loadIfSet
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored as shape files-files.
Definition: PCLoaderArcView.cpp:54
PCLoaderArcView
A reader of pois and polygons from shape files.
Definition: PCLoaderArcView.h:51
PCPolyContainer
A storage for loaded polygons and pois.
Definition: PCPolyContainer.h:51
PCLoaderArcView::PCLoaderArcView
PCLoaderArcView(const PCLoaderArcView &)
Invalidated copy constructor.
config.h
PCTypeMap
A storage for type mappings.
Definition: PCTypeMap.h:45