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

Returns true if detectors are equal. More...

#include <MSDetectorControl.h>

Inheritance diagram for MSDetectorControl::detectorEquals:
binary_function

Public Member Functions

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

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


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines