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

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

#include <NIImporter_OpenStreetMap.h>

Collaboration diagram for NIImporter_OpenStreetMap::Edge:
Collaboration graph

Public Member Functions

 Edge (long long int _id)
 

Data Fields

const long long int id
 The edge's id. More...
 
WayType myBuswayType
 Information about the kind of busway along this road. More...
 
bool myCurrentIsRoad
 Information whether this is a road. More...
 
std::vector< long long int > myCurrentNodes
 The list of nodes this edge is made of. More...
 
WayType myCyclewayType
 Information about the kind of cycleway along this road. More...
 
std::string myHighWayType
 The type, stored in "highway" key. More...
 
std::string myIsOneWay
 Information whether this is an one-way road. More...
 
int myLayer
 Information about the relative z-ordering of ways. 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...
 

Private Member Functions

Edgeoperator= (const Edge &s)
 invalidated assignment operator More...
 

Detailed Description

An internal definition of a loaded edge.

Definition at line 121 of file NIImporter_OpenStreetMap.h.

Constructor & Destructor Documentation

NIImporter_OpenStreetMap::Edge::Edge ( long long int  _id)
inline

Definition at line 123 of file NIImporter_OpenStreetMap.h.

Member Function Documentation

Edge& NIImporter_OpenStreetMap::Edge::operator= ( const Edge s)
private

invalidated assignment operator

Field Documentation

const long long int NIImporter_OpenStreetMap::Edge::id

The edge's id.

Definition at line 131 of file NIImporter_OpenStreetMap.h.

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

WayType NIImporter_OpenStreetMap::Edge::myBuswayType

Information about the kind of busway along this road.

Definition at line 147 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge().

bool NIImporter_OpenStreetMap::Edge::myCurrentIsRoad

Information whether this is a road.

Definition at line 153 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::load().

std::vector<long long int> NIImporter_OpenStreetMap::Edge::myCurrentNodes
WayType NIImporter_OpenStreetMap::Edge::myCyclewayType

Information about the kind of cycleway along this road.

Definition at line 145 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge().

std::string NIImporter_OpenStreetMap::Edge::myHighWayType

The type, stored in "highway" key.

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

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

int NIImporter_OpenStreetMap::Edge::myLayer

Information about the relative z-ordering of ways.

Definition at line 149 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::reconstructLayerElevation().

double NIImporter_OpenStreetMap::Edge::myMaxSpeed

maximum speed in km/h, or MAXSPEED_UNGIVEN

Definition at line 139 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 135 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 137 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 133 of file NIImporter_OpenStreetMap.h.

Referenced by NIImporter_OpenStreetMap::insertEdge().


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