Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Protected Attributes

InIntensityRange< PeakType > Class Template Reference
[RangeUtils]

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

#include <OpenMS/KERNEL/RangeUtils.h>

Inheritance diagram for InIntensityRange< PeakType >:
unary_function

List of all members.

Public Member Functions

 InIntensityRange (DoubleReal min, DoubleReal max, bool reverse=false)
 Constructor.
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:
min lower boundary
max upper boundary
reverse if reverse is true, operator() returns true if the peak lies outside the set

Member Function Documentation


Member Data Documentation

bool reverse_ [protected]

OpenMS / TOPP release 1.10.0 Documentation generated on Thu Mar 7 2013 09:42:55 using doxygen 1.7.1