SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NIImporter_OpenStreetMap::Edge Struct Reference

An internal definition of a loaded edge. More...

#include <NIImporter_OpenStreetMap.h>

Data Fields

std::string id
 The edge's id.
bool myCurrentIsRoad
 Information whether this is a road.
std::vector< longmyCurrentNodes
 The list of nodes this edge is made of.
std::string myHighWayType
 The type, stored in "highway" key.
std::string myIsOneWay
 Information whether this is an one-way road.
double myMaxSpeed
 maximum speed in km/h, or MAXSPEED_UNGIVEN
int myNoLanes
 number of lanes, or -1 if unknown
std::string streetName
 The edge's street name.

Detailed Description

An internal definition of a loaded edge.

Definition at line 96 of file NIImporter_OpenStreetMap.h.

Field Documentation

std::string NIImporter_OpenStreetMap::Edge::id

The edge's id.

Definition at line 98 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and NIImporter_OpenStreetMap::load().

bool NIImporter_OpenStreetMap::Edge::myCurrentIsRoad

Information whether this is a road.

Definition at line 112 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::load().

std::vector<long> NIImporter_OpenStreetMap::Edge::myCurrentNodes

The list of nodes this edge is made of.

Definition at line 110 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::load(), and NIImporter_OpenStreetMap::CompareEdges::operator()().

std::string NIImporter_OpenStreetMap::Edge::myHighWayType

The type, stored in "highway" key.

Definition at line 106 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and NIImporter_OpenStreetMap::CompareEdges::operator()().

std::string NIImporter_OpenStreetMap::Edge::myIsOneWay

Information whether this is an one-way road.

Definition at line 108 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and NIImporter_OpenStreetMap::CompareEdges::operator()().

double NIImporter_OpenStreetMap::Edge::myMaxSpeed

maximum speed in km/h, or MAXSPEED_UNGIVEN

Definition at line 104 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and NIImporter_OpenStreetMap::CompareEdges::operator()().

int NIImporter_OpenStreetMap::Edge::myNoLanes

number of lanes, or -1 if unknown

Definition at line 102 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and NIImporter_OpenStreetMap::CompareEdges::operator()().

std::string NIImporter_OpenStreetMap::Edge::streetName

The edge's street name.

Definition at line 100 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge().


The documentation for this struct was generated from the following file: