SUMO - Simulation of Urban MObility
NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition.h
Go to the documentation of this file.
1 /****************************************************************************/
7 //
8 /****************************************************************************/
9 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
10 // Copyright (C) 2001-2016 DLR (http://www.dlr.de/) and contributors
11 /****************************************************************************/
12 //
13 // This file is part of SUMO.
14 // SUMO is free software: you can redistribute it and/or modify
15 // it under the terms of the GNU General Public License as published by
16 // the Free Software Foundation, either version 3 of the License, or
17 // (at your option) any later version.
18 //
19 /****************************************************************************/
20 #ifndef NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition_h
21 #define NIVissimSingleTypeParser_Querverkehrsstoerungsdefinition_h
22 
23 
24 // ===========================================================================
25 // included modules
26 // ===========================================================================
27 #ifdef _MSC_VER
28 #include <windows_config.h>
29 #else
30 #include <config.h>
31 #endif
32 
33 #include <iostream>
34 #include "../NIImporter_Vissim.h"
35 
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
46 public:
49 
52 
54  bool parse(std::istream& from);
55 
56 private:
58  bool parseOnlyMe(std::istream& from);
59 
61  bool parsePositionDescribed(std::istream& from);
62 
64  bool parseNumbered(std::istream& from);
65 
66  NIVissimExtendedEdgePoint parsePos(std::istream& from);
67 
68 };
69 
70 
71 #endif
72 
73 /****************************************************************************/
74 
bool parse(std::istream &from)
Parses the data type from the given stream.
Importer for networks stored in Vissim format.
bool parsePositionDescribed(std::istream &from)
parses a disturbance described by its position
bool parseNumbered(std::istream &from)
parses a full description of a disturbance