Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages

HasScanMode Class Template Reference
[RangeUtils]

#include <OpenMS/KERNEL/RangeUtils.h>

Inheritance diagram for HasScanMode:

unary_function

List of all members.


Detailed Description

template<class SpectrumType>
class OpenMS::HasScanMode< SpectrumType >

Predicate that determines if a spectrum has a certain scan mode.

SpectrumType must be a Spectrum or have the same interface (SpectrumSettings)

Public Member Functions

 HasScanMode (Int mode, bool reverse=false)
 Constructor.
bool operator() (const SpectrumType &s) const

Protected Attributes

Int mode_
bool reverse_


Constructor & Destructor Documentation

HasScanMode ( Int  mode,
bool  reverse = false 
) [inline]

Constructor.

Parameters:
mode scan mode
reverse if reverse is true, operator() return true if the spectrum has a different scan mode


Member Function Documentation

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


Member Data Documentation

Int mode_ [protected]

bool reverse_ [protected]


The documentation for this class was generated from the following file:
Generated Tue Apr 1 15:36:46 2008 -- using doxygen 1.5.4 OpenMS / TOPP 1.1