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