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

Returns true if detectors are equal. More...

#include <MSDetectorControl.h>

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

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 208 of file MSDetectorControl.h.

Member Function Documentation

◆ operator()()

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

Returns true if detectors are equal.

Definition at line 210 of file MSDetectorControl.h.


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