SUMO - Simulation of Urban MObility
PCLoaderVisum.h
Go to the documentation of this file.
1 /****************************************************************************/
8 // A reader of pois and polygons stored in VISUM-format
9 /****************************************************************************/
10 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
11 // Copyright (C) 2001-2017 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 PCLoaderVisum_h
22 #define PCLoaderVisum_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"
37 
38 
39 // ===========================================================================
40 // class definitions
41 // ===========================================================================
42 class OptionsCont;
43 
44 
45 // ===========================================================================
46 // class declarations
47 // ===========================================================================
53 public:
66  static void loadIfSet(OptionsCont& oc, PCPolyContainer& toFill,
67  PCTypeMap& tm);
68 
69 
70 protected:
77  static void load(const std::string& file, OptionsCont& oc, PCPolyContainer& toFill,
78  PCTypeMap& tm);
79 
80 
81 };
82 
83 
84 #endif
85 
86 /****************************************************************************/
87 
static void load(const std::string &file, OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Parses pois/polys stored within the given file.
A storage for loaded polygons and pois.
A storage for type mappings.
Definition: PCTypeMap.h:52
static void loadIfSet(OptionsCont &oc, PCPolyContainer &toFill, PCTypeMap &tm)
Loads pois/polygons assumed to be stored using VISUM-format.
A storage for options typed value containers)
Definition: OptionsCont.h:99
A reader of pois and polygons stored in VISUM-format.
Definition: PCLoaderVisum.h:52