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

InMSLevelRange< SpectrumType > Class Template Reference
[RangeUtils]

Predicate that determines if a spectrum lies inside/outside a specific MS level set. More...

#include <OpenMS/KERNEL/RangeUtils.h>

Inheritance diagram for InMSLevelRange< SpectrumType >:
unary_function

List of all members.

Public Member Functions

 InMSLevelRange (const IntList &levels, bool reverse=false)
 Constructor.
bool operator() (const SpectrumType &s) const

Protected Attributes

IntList levels_
bool reverse_

Detailed Description

template<class SpectrumType>
class OpenMS::InMSLevelRange< SpectrumType >

Predicate that determines if a spectrum lies inside/outside a specific MS level set.

SpectrumType must be a Spectrum or have the same interface


Constructor & Destructor Documentation

InMSLevelRange ( const IntList levels,
bool  reverse = false 
) [inline]

Constructor.

Parameters:
levels an array of MS levels
reverse if reverse is true, operator() returns true if the spectrum lies outside the set

Member Function Documentation

bool operator() ( const SpectrumType &  s  )  const [inline]

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