Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes | List of all members
InIntensityRange< PeakType > Class Template Reference

Predicate that determines if a peak lies inside/outside a specific intensity range. More...

#include <OpenMS/KERNEL/RangeUtils.h>

Inheritance diagram for InIntensityRange< PeakType >:

Public Member Functions

 InIntensityRange (DoubleReal min, DoubleReal max, bool reverse=false)
 Constructor. More...
 
bool operator() (const PeakType &p) const
 

Protected Attributes

DoubleReal min_
 
DoubleReal max_
 
bool reverse_
 

Detailed Description

template<class PeakType>
class OpenMS::InIntensityRange< PeakType >

Predicate that determines if a peak lies inside/outside a specific intensity range.

PeakType must have a getIntensity() method.

Constructor & Destructor Documentation

InIntensityRange ( DoubleReal  min,
DoubleReal  max,
bool  reverse = false 
)
inline

Constructor.

Parameters
minlower boundary
maxupper boundary
reverseif reverse is true, operator() returns true if the peak lies outside the set

Member Function Documentation

bool operator() ( const PeakType p) const
inline

Member Data Documentation

DoubleReal max_
protected
DoubleReal min_
protected
bool reverse_
protected

OpenMS / TOPP release 1.11.1 Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5