Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
NBTrafficLightDefinition::StreamPair Struct Reference

data structure for caching needsCont information More...

#include <NBTrafficLightDefinition.h>

Collaboration diagram for NBTrafficLightDefinition::StreamPair:
[legend]

Public Member Functions

bool operator< (const StreamPair &o) const
 
bool operator== (const StreamPair &o) const
 
 StreamPair (const NBEdge *_from1, const NBEdge *_to1, const NBEdge *_from2, const NBEdge *_to2)
 

Data Fields

const NBEdgefrom1
 
const NBEdgefrom2
 
const NBEdgeto1
 
const NBEdgeto2
 

Detailed Description

data structure for caching needsCont information

Definition at line 438 of file NBTrafficLightDefinition.h.

Constructor & Destructor Documentation

◆ StreamPair()

NBTrafficLightDefinition::StreamPair::StreamPair ( const NBEdge _from1,
const NBEdge _to1,
const NBEdge _from2,
const NBEdge _to2 
)
inline

Definition at line 439 of file NBTrafficLightDefinition.h.

Member Function Documentation

◆ operator<()

bool NBTrafficLightDefinition::StreamPair::operator< ( const StreamPair o) const
inline

Definition at line 450 of file NBTrafficLightDefinition.h.

References from1, from2, to1, and to2.

◆ operator==()

bool NBTrafficLightDefinition::StreamPair::operator== ( const StreamPair o) const
inline

Definition at line 445 of file NBTrafficLightDefinition.h.

References from1, from2, to1, and to2.

Field Documentation

◆ from1

const NBEdge* NBTrafficLightDefinition::StreamPair::from1

Definition at line 463 of file NBTrafficLightDefinition.h.

Referenced by operator<(), and operator==().

◆ from2

const NBEdge* NBTrafficLightDefinition::StreamPair::from2

Definition at line 465 of file NBTrafficLightDefinition.h.

Referenced by operator<(), and operator==().

◆ to1

const NBEdge* NBTrafficLightDefinition::StreamPair::to1

Definition at line 464 of file NBTrafficLightDefinition.h.

Referenced by operator<(), and operator==().

◆ to2

const NBEdge* NBTrafficLightDefinition::StreamPair::to2

Definition at line 466 of file NBTrafficLightDefinition.h.

Referenced by operator<(), and operator==().


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