SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PCLoaderArcView.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // A reader of pois and polygons from shape files
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
11 // Copyright (C) 2001-2014 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 PCLoaderArcView_h
22 #define PCLoaderArcView_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>
36 
37 
38 // ===========================================================================
39 // class declarations
40 // ===========================================================================
41 class OptionsCont;
42 class PCPolyContainer;
43 class PCTypeMap;
44 
45 
46 // ===========================================================================
47 // class definitions
48 // ===========================================================================
59 public:
72  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
73  PCTypeMap& tm);
74 
75 
76 protected:
83  static void load(const std::string& file, OptionsCont& oc, PCPolyContainer& toFill,
84  PCTypeMap& tm);
85 
86 
87 private:
90 
93 
94 };
95 
96 
97 #endif
98 
99 /****************************************************************************/
100 
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:108