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

IsEmptySpectrum Class Template Reference
[RangeUtils]

#include <OpenMS/KERNEL/RangeUtils.h>

Inheritance diagram for IsEmptySpectrum:

unary_function

List of all members.


Detailed Description

template<class SpectrumType>
class OpenMS::IsEmptySpectrum< SpectrumType >

Predicate that determines if a spectrum is empty.

SpectrumType must have a size() member function

Public Member Functions

 IsEmptySpectrum (bool reverse=false)
 Constructor.
bool operator() (const SpectrumType &s) const

Protected Attributes

bool reverse_


Constructor & Destructor Documentation

IsEmptySpectrum ( bool  reverse = false  )  [inline]

Constructor.

Parameters:
reverse if reverse is true, operator() return true if the spectrum is not empty


Member Function Documentation

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


Member Data Documentation

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