SUMO - Simulation of Urban MObility
MSDetectorControl::detectorEquals Struct Reference

Returns true if detectors are equal. More...

#include <MSDetectorControl.h>

Inheritance diagram for MSDetectorControl::detectorEquals:
Inheritance graph
Collaboration diagram for MSDetectorControl::detectorEquals:
Collaboration graph

Public Member Functions

bool operator() (const DetectorFilePair &pair, const MSDetectorFileOutput *det) const
 Returns true if detectors are equal. More...
 

Detailed Description

Returns true if detectors are equal.

Binary predicate that compares the passed DetectorFilePair's detector to a fixed one. Returns true if detectors are equal. (Used to prevent multiple inclusion of a detector for the same interval.)

See also
addDetectorAndInterval

Definition at line 217 of file MSDetectorControl.h.

Member Function Documentation

bool MSDetectorControl::detectorEquals::operator() ( const DetectorFilePair pair,
const MSDetectorFileOutput det 
) const
inline

Returns true if detectors are equal.

Definition at line 219 of file MSDetectorControl.h.


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