SUMO - Simulation of Urban MObility
NIVissimSingleTypeParser_Stauzaehlerdefinition.cpp
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4
/****************************************************************************/
5
//
6
// This program and the accompanying materials
7
// are made available under the terms of the Eclipse Public License v2.0
8
// which accompanies this distribution, and is available at
9
// http://www.eclipse.org/legal/epl-v20.html
10
//
11
/****************************************************************************/
18
//
19
/****************************************************************************/
20
21
22
// ===========================================================================
23
// included modules
24
// ===========================================================================
25
#ifdef _MSC_VER
26
#include <
windows_config.h
>
27
#else
28
#include <
config.h
>
29
#endif
30
31
#include <iostream>
32
#include <
utils/common/TplConvert.h
>
33
#include "../NIImporter_Vissim.h"
34
#include "../tempstructs/NIVissimClosures.h"
35
#include "
NIVissimSingleTypeParser_Stauzaehlerdefinition.h
"
36
37
38
// ===========================================================================
39
// method definitions
40
// ===========================================================================
41
NIVissimSingleTypeParser_Stauzaehlerdefinition::NIVissimSingleTypeParser_Stauzaehlerdefinition
(
NIImporter_Vissim
& parent)
42
:
NIImporter_Vissim
::VissimSingleTypeParser(parent) {}
43
44
45
NIVissimSingleTypeParser_Stauzaehlerdefinition::~NIVissimSingleTypeParser_Stauzaehlerdefinition
() {}
46
47
48
bool
49
NIVissimSingleTypeParser_Stauzaehlerdefinition::parse
(std::istream& from) {
50
return
skipOverreading
(from,
"strecke"
);
51
}
52
53
54
55
/****************************************************************************/
56
NIVissimSingleTypeParser_Stauzaehlerdefinition.h
windows_config.h
NIVissimSingleTypeParser_Stauzaehlerdefinition::parse
bool parse(std::istream &from)
Parses the data type from the given stream.
Definition:
NIVissimSingleTypeParser_Stauzaehlerdefinition.cpp:49
NIImporter_Vissim
Importer for networks stored in Vissim format.
Definition:
NIImporter_Vissim.h:65
config.h
NIVissimSingleTypeParser_Stauzaehlerdefinition::NIVissimSingleTypeParser_Stauzaehlerdefinition
NIVissimSingleTypeParser_Stauzaehlerdefinition(NIImporter_Vissim &parent)
Constructor.
Definition:
NIVissimSingleTypeParser_Stauzaehlerdefinition.cpp:41
TplConvert.h
NIVissimSingleTypeParser_Stauzaehlerdefinition::~NIVissimSingleTypeParser_Stauzaehlerdefinition
~NIVissimSingleTypeParser_Stauzaehlerdefinition()
Destructor.
Definition:
NIVissimSingleTypeParser_Stauzaehlerdefinition.cpp:45
NIImporter_Vissim::VissimSingleTypeParser::skipOverreading
bool skipOverreading(std::istream &from, const std::string &name="")
Overreads the named parameter (if) given and skips the rest until "DATAEND".
Definition:
NIImporter_Vissim.cpp:843
src
netimport
vissim
typeloader
NIVissimSingleTypeParser_Stauzaehlerdefinition.cpp
Generated on Sat May 12 2018 19:00:22 for SUMO - Simulation of Urban MObility by
1.8.13