SUMO - Simulation of Urban MObility
PCTypeDefHandler.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 /****************************************************************************/
19 // A handler for loading polygon type maps
20 /****************************************************************************/
21 #ifndef PCTypeDefHandler_h
22 #define PCTypeDefHandler_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>
37 #include "PCTypeDefHandler.h"
38 
39 
40 // ===========================================================================
41 // class declarations
42 // ===========================================================================
43 class PCTypeToDef;
44 
45 
46 // ===========================================================================
47 // class definitions
48 // ===========================================================================
54 public:
60 
61 
63  virtual ~PCTypeDefHandler();
64 
65 
66 protected:
68 
69 
78  void myStartElement(int element,
79  const SUMOSAXAttributes& attrs);
81 
82 
83 protected:
86 
89 
90 
91 private:
94 
97 
98 };
99 
100 
101 #endif
102 
103 /****************************************************************************/
104 
virtual ~PCTypeDefHandler()
Destructor.
SAX-handler base for SUMO-files.
PCTypeMap & myContainer
The type map to fill.
A storage for type mappings.
Definition: PCTypeMap.h:51
Encapsulated SAX-Attributes.
PCTypeDefHandler(OptionsCont &oc, PCTypeMap &con)
Constructor.
A handler for loading polygon type maps.
PCTypeDefHandler & operator=(const PCTypeDefHandler &src)
Invalidated assignment operator.
A storage for options typed value containers)
Definition: OptionsCont.h:98
OptionsCont & myOptions
The options (program settings)
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.