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

HasActivationMethod< SpectrumType > Class Template Reference
[RangeUtils]

Predicate that determines if a spectrum was generated using any activation method given in the constructor list. More...

#include <OpenMS/KERNEL/RangeUtils.h>

Inheritance diagram for HasActivationMethod< SpectrumType >:
unary_function

List of all members.

Public Member Functions

 HasActivationMethod (const StringList &methods, bool reverse=false)
 Constructor.
bool operator() (const SpectrumType &s) const

Protected Attributes

StringList methods_
bool reverse_

Detailed Description

template<class SpectrumType>
class OpenMS::HasActivationMethod< SpectrumType >

Predicate that determines if a spectrum was generated using any activation method given in the constructor list.

SpectrumType must have a getPrecursors() method


Constructor & Destructor Documentation

HasActivationMethod ( const StringList methods,
bool  reverse = false 
) [inline]

Constructor.

Parameters:
methods List of methods that is compared against precursor activation methods.
reverse if reverse is true, operator() returns true if the spectrum is not using one of the specified activation methods.

Member Function Documentation


Member Data Documentation


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