ProteoWizard
Public Member Functions | Public Attributes
mzrtEqual Struct Reference

List of all members.

Public Member Functions

 mzrtEqual (FeaturePtr a_)
bool operator() (FeaturePtr b) const

Public Attributes

FeaturePtr a

Detailed Description

Definition at line 45 of file FeatureDetectorSimpleTest.cpp.


Constructor & Destructor Documentation

mzrtEqual::mzrtEqual ( FeaturePtr  a_)
inline

Definition at line 48 of file FeatureDetectorSimpleTest.cpp.

: a(a_) {}

Member Function Documentation

bool mzrtEqual::operator() ( FeaturePtr  b) const
inline

Definition at line 51 of file FeatureDetectorSimpleTest.cpp.

References mz_epsilon, and rt_epsilon.

{
return fabs(a->mz-b->mz) < mz_epsilon &&
fabs(a->retentionTime - b->retentionTime) < rt_epsilon;
}

Member Data Documentation

FeaturePtr mzrtEqual::a

Definition at line 58 of file FeatureDetectorSimpleTest.cpp.


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