MSDetectorControl::detectorEquals Struct Reference

#include <MSDetectorControl.h>

Inheritance diagram for MSDetectorControl::detectorEquals:

binary_function

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


Public Member Functions

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

Member Function Documentation

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

Returns true if detectors are equal.

Definition at line 422 of file MSDetectorControl.h.

00422                                                                                                      {
00423             return pair.first == det;
00424         }


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

Generated on Wed May 5 00:06:47 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6