Eclipse SUMO - Simulation of Urban MObility
SUMOSAXHandler.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2002-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
// SAX-handler base for SUMO-files
17
/****************************************************************************/
18
#ifndef SUMOSAXHandler_h
19
#define SUMOSAXHandler_h
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#include <
config.h
>
26
27
#include <string>
28
#include <
utils/xml/GenericSAXHandler.h
>
29
30
31
// ===========================================================================
32
// class definitions
33
// ===========================================================================
41
class
SUMOSAXHandler
:
public
GenericSAXHandler
{
42
public
:
48
SUMOSAXHandler
(
const
std::string& file =
""
,
const
std::string& expectedRoot =
""
);
49
50
52
virtual
~SUMOSAXHandler
();
53
54
55
private
:
57
SUMOSAXHandler
(
const
SUMOSAXHandler
& s);
58
60
const
SUMOSAXHandler
&
operator=
(
const
SUMOSAXHandler
& s);
61
62
};
63
64
65
#endif
66
67
/****************************************************************************/
68
GenericSAXHandler.h
SUMOSAXHandler
SAX-handler base for SUMO-files.
Definition:
SUMOSAXHandler.h:41
SUMOSAXHandler::operator=
const SUMOSAXHandler & operator=(const SUMOSAXHandler &s)
invalidated assignment operator
config.h
SUMOSAXHandler::SUMOSAXHandler
SUMOSAXHandler(const std::string &file="", const std::string &expectedRoot="")
Constructor.
Definition:
SUMOSAXHandler.cpp:35
SUMOSAXHandler::SUMOSAXHandler
SUMOSAXHandler(const SUMOSAXHandler &s)
invalidated copy constructor
GenericSAXHandler
A handler which converts occuring elements and attributes into enums.
Definition:
GenericSAXHandler.h:67
SUMOSAXHandler::~SUMOSAXHandler
virtual ~SUMOSAXHandler()
Destructor.
Definition:
SUMOSAXHandler.cpp:40
src
utils
xml
SUMOSAXHandler.h
Generated on Sun Dec 13 2020 08:44:58 for Eclipse SUMO - Simulation of Urban MObility by
1.8.20