37 #include "../NIImporter_Vissim.h" 38 #include "../tempstructs/NIVissimTL.h" 58 std::string tag, name;
68 std::vector<int> groupids;
75 groupids.push_back(groupid);
77 }
while (tag ==
"oder");
102 while (tag !=
"fahrzeugklassen") {
110 laneno, position, assignedVehicleTypes);
std::string myRead(std::istream &from)
reads from the stream and returns the lower case version of the read value
Importer for networks stored in Vissim format.
static bool dictionary(int lsaid, int id, NIVissimTLSignal *o)
#define WRITE_WARNING(msg)
NIVissimSingleTypeParser_Signalgeberdefinition(NIImporter_Vissim &parent)
Constructor.
static bool dictionary(int id, const std::string &type, const std::string &name, SUMOTime absdur, SUMOTime offset)
bool parse(std::istream &from)
Parses the data type from the given stream.
std::string readName(std::istream &from)
Reads the structures name We cannot use the "<<" operator, as names may contain more than one word wh...
~NIVissimSingleTypeParser_Signalgeberdefinition()
Destructor.
std::string overrideOptionalLabel(std::istream &from, const std::string &tag="")
overrides the optional label definition; returns the next tag as done by readEndSecure ...
std::vector< int > parseAssignedVehicleTypes(std::istream &from, const std::string &next)
parses a listof vehicle types assigned to the current data field One should remeber, that -1 means "all" vehicle types