SUMO - Simulation of Urban MObility
NIVissimSingleTypeParser_Liniendefinition.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_Liniendefinition.h
"
36
37
38
// ===========================================================================
39
// method definitions
40
// ===========================================================================
41
NIVissimSingleTypeParser_Liniendefinition::NIVissimSingleTypeParser_Liniendefinition
(
NIImporter_Vissim
& parent)
42
:
NIImporter_Vissim
::VissimSingleTypeParser(parent) {}
43
44
45
NIVissimSingleTypeParser_Liniendefinition::~NIVissimSingleTypeParser_Liniendefinition
() {}
46
47
48
bool
49
NIVissimSingleTypeParser_Liniendefinition::parse
(std::istream& from) {
50
std::string tag;
51
from >> tag;
52
//cout << tag << endl;
53
do
{
54
getline(from, tag);
55
}
while
(tag.length() > 0 && tag[0] ==
' '
);
56
return
true
;
57
}
58
59
60
61
/****************************************************************************/
62
windows_config.h
NIImporter_Vissim
Importer for networks stored in Vissim format.
Definition:
NIImporter_Vissim.h:65
config.h
NIVissimSingleTypeParser_Liniendefinition::~NIVissimSingleTypeParser_Liniendefinition
~NIVissimSingleTypeParser_Liniendefinition()
Destructor.
Definition:
NIVissimSingleTypeParser_Liniendefinition.cpp:45
NIVissimSingleTypeParser_Liniendefinition::NIVissimSingleTypeParser_Liniendefinition
NIVissimSingleTypeParser_Liniendefinition(NIImporter_Vissim &parent)
Constructor.
Definition:
NIVissimSingleTypeParser_Liniendefinition.cpp:41
TplConvert.h
NIVissimSingleTypeParser_Liniendefinition::parse
bool parse(std::istream &from)
Parses the data type from the given stream.
Definition:
NIVissimSingleTypeParser_Liniendefinition.cpp:49
NIVissimSingleTypeParser_Liniendefinition.h
src
netimport
vissim
typeloader
NIVissimSingleTypeParser_Liniendefinition.cpp
Generated on Sat May 12 2018 19:00:22 for SUMO - Simulation of Urban MObility by
1.8.13