Eclipse 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-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 /****************************************************************************/
17 // A handler for loading polygon type maps
18 /****************************************************************************/
19 #ifndef PCTypeDefHandler_h
20 #define PCTypeDefHandler_h
21 
22 
23 // ===========================================================================
24 // included modules
25 // ===========================================================================
26 #include <config.h>
27 
28 #include <string>
31 #include "PCTypeDefHandler.h"
32 
33 
34 // ===========================================================================
35 // class declarations
36 // ===========================================================================
37 class PCTypeToDef;
38 
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
48 public:
54 
55 
57  virtual ~PCTypeDefHandler();
58 
59 
60 protected:
62 
63 
72  void myStartElement(int element,
73  const SUMOSAXAttributes& attrs);
75 
76 
77 protected:
80 
83 
84 
85 private:
88 
91 
92 };
93 
94 
95 #endif
96 
97 /****************************************************************************/
98 
PCTypeDefHandler::myContainer
PCTypeMap & myContainer
The type map to fill.
Definition: PCTypeDefHandler.h:82
SUMOSAXHandler
SAX-handler base for SUMO-files.
Definition: SUMOSAXHandler.h:42
OptionsCont.h
SUMOSAXHandler.h
PCTypeDefHandler::myOptions
OptionsCont & myOptions
The options (program settings)
Definition: PCTypeDefHandler.h:79
OptionsCont
A storage for options typed value containers)
Definition: OptionsCont.h:90
PCTypeDefHandler::myStartElement
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
Definition: PCTypeDefHandler.cpp:51
PCTypeDefHandler.h
PCTypeDefHandler::operator=
PCTypeDefHandler & operator=(const PCTypeDefHandler &src)
Invalidated assignment operator.
PCTypeDefHandler::PCTypeDefHandler
PCTypeDefHandler(OptionsCont &oc, PCTypeMap &con)
Constructor.
Definition: PCTypeDefHandler.cpp:42
PCTypeDefHandler
A handler for loading polygon type maps.
Definition: PCTypeDefHandler.h:47
PCTypeDefHandler::~PCTypeDefHandler
virtual ~PCTypeDefHandler()
Destructor.
Definition: PCTypeDefHandler.cpp:47
config.h
PCTypeMap
A storage for type mappings.
Definition: PCTypeMap.h:45
SUMOSAXAttributes
Encapsulated SAX-Attributes.
Definition: SUMOSAXAttributes.h:57