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
/****************************************************************************/
17
// SAX-handler base for SUMO-files
18
/****************************************************************************/
19
#ifndef SUMOSAXHandler_h
20
#define SUMOSAXHandler_h
21
22
23
// ===========================================================================
24
// included modules
25
// ===========================================================================
26
#include <
config.h
>
27
28
#include <string>
29
#include <
utils/xml/GenericSAXHandler.h
>
30
31
32
// ===========================================================================
33
// class definitions
34
// ===========================================================================
42
class
SUMOSAXHandler
:
public
GenericSAXHandler
{
43
public
:
49
SUMOSAXHandler
(
const
std::string& file =
""
,
const
std::string& expectedRoot =
""
);
50
51
53
virtual
~SUMOSAXHandler
();
54
55
56
private
:
58
SUMOSAXHandler
(
const
SUMOSAXHandler
& s);
59
61
const
SUMOSAXHandler
&
operator=
(
const
SUMOSAXHandler
& s);
62
63
};
64
65
66
#endif
67
68
/****************************************************************************/
69
GenericSAXHandler.h
SUMOSAXHandler
SAX-handler base for SUMO-files.
Definition:
SUMOSAXHandler.h:42
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:36
GenericSAXHandler
A handler which converts occuring elements and attributes into enums.
Definition:
GenericSAXHandler.h:68
SUMOSAXHandler::~SUMOSAXHandler
virtual ~SUMOSAXHandler()
Destructor.
Definition:
SUMOSAXHandler.cpp:41
src
utils
xml
SUMOSAXHandler.h
Generated on Wed Jan 15 2020 15:04:13 for Eclipse SUMO - Simulation of Urban MObility by
1.8.16