SUMO - Simulation of Urban MObility
PCTypeDefHandler.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // A handler for loading polygon type maps
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12 // Copyright (C) 2001-2015 DLR (http://www.dlr.de/) and contributors
13 /****************************************************************************/
14 //
15 // This file is part of SUMO.
16 // SUMO is free software: you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation, either version 3 of the License, or
19 // (at your option) any later version.
20 //
21 /****************************************************************************/
22 #ifndef PCTypeDefHandler_h
23 #define PCTypeDefHandler_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 #include <string>
38 #include "PCTypeDefHandler.h"
39 
40 
41 // ===========================================================================
42 // class declarations
43 // ===========================================================================
44 class PCTypeToDef;
45 
46 
47 // ===========================================================================
48 // class definitions
49 // ===========================================================================
55 public:
61 
62 
64  virtual ~PCTypeDefHandler();
65 
66 
67 protected:
69 
70 
79  void myStartElement(int element,
80  const SUMOSAXAttributes& attrs);
82 
83 
84 protected:
87 
90 
91 
92 private:
95 
98 
99 };
100 
101 
102 #endif
103 
104 /****************************************************************************/
105 
virtual ~PCTypeDefHandler()
Destructor.
SAX-handler base for SUMO-files.
PCTypeMap & myContainer
The type map to fill.
A storage for type mappings.
Definition: PCTypeMap.h:52
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:108
OptionsCont & myOptions
The options (program settings)
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.