Eclipse SUMO - Simulation of Urban MObility
RODFRouteCont::route_finder Class Reference

A class for finding a same route (one that passes the same edges) More...

#include <RODFRouteCont.h>

Collaboration diagram for RODFRouteCont::route_finder:
[legend]

Public Member Functions

bool operator() (const RODFRouteDesc &desc)
 The comparing function; compares passed edges. More...
 
 route_finder (const RODFRouteDesc &desc)
 onstructor More...
 

Private Attributes

const RODFRouteDescmyDesc
 The route description for which a same shall be found. More...
 

Detailed Description

A class for finding a same route (one that passes the same edges)

Definition at line 151 of file RODFRouteCont.h.

Constructor & Destructor Documentation

◆ route_finder()

RODFRouteCont::route_finder::route_finder ( const RODFRouteDesc desc)
inlineexplicit

onstructor

Parameters
[in]descThe route description to which a same shall be found

Definition at line 156 of file RODFRouteCont.h.

Member Function Documentation

◆ operator()()

bool RODFRouteCont::route_finder::operator() ( const RODFRouteDesc desc)
inline

The comparing function; compares passed edges.

Definition at line 159 of file RODFRouteCont.h.

References RODFRouteDesc::edges2Pass, and myDesc.

Field Documentation

◆ myDesc

const RODFRouteDesc& RODFRouteCont::route_finder::myDesc
private

The route description for which a same shall be found.

Definition at line 165 of file RODFRouteCont.h.

Referenced by operator()().


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