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 /****************************************************************************/
15 // A reader of pois and polygons from shape files
16 /****************************************************************************/
17 #ifndef PCLoaderArcView_h
18 #define PCLoaderArcView_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <string>
28 
29 
30 // ===========================================================================
31 // class declarations
32 // ===========================================================================
33 class OptionsCont;
34 class PCPolyContainer;
35 class PCTypeMap;
36 
37 
38 // ===========================================================================
39 // class definitions
40 // ===========================================================================
51 public:
64  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
65  PCTypeMap& tm);
66 
67 
68 protected:
75  static void load(const std::string& file, OptionsCont& oc, PCPolyContainer& toFill,
76  PCTypeMap& tm);
77 
78 
79 private:
82 
85 
86 };
87 
88 
89 #endif
90 
91 /****************************************************************************/
92 
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:70
UtilExceptions.h
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:89
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:53
PCLoaderArcView
A reader of pois and polygons from shape files.
Definition: PCLoaderArcView.h:50
PCPolyContainer
A storage for loaded polygons and pois.
Definition: PCPolyContainer.h:50
PCLoaderArcView::PCLoaderArcView
PCLoaderArcView(const PCLoaderArcView &)
Invalidated copy constructor.
config.h
PCTypeMap
A storage for type mappings.
Definition: PCTypeMap.h:44