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>

Public Member Functions

 Edge (SUMOLong _id)
 

Data Fields

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

Detailed Description

An internal definition of a loaded edge.

Definition at line 103 of file NIImporter_OpenStreetMap.h.

Constructor & Destructor Documentation

NIImporter_OpenStreetMap::Edge::Edge ( SUMOLong  _id)
inline

Definition at line 105 of file NIImporter_OpenStreetMap.h.

Field Documentation

SUMOLong NIImporter_OpenStreetMap::Edge::id

The edge's id.

Definition at line 110 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 126 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::load().

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

The list of nodes this edge is made of.

Definition at line 124 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 120 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 122 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 118 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 114 of file NIImporter_OpenStreetMap.h.

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

int NIImporter_OpenStreetMap::Edge::myNoLanesForward

number of lanes in forward direction or 0 if unknown, negative if backwards lanes are meant

Definition at line 116 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 112 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge().


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