OpenMS
2.7.0
|
Predicate that determines if a class has a certain metavalue. More...
#include <OpenMS/KERNEL/RangeUtils.h>
Public Member Functions | |
HasMetaValue (String metavalue, bool reverse=false) | |
Constructor. More... | |
bool | operator() (const MetaContainer &s) const |
Protected Attributes | |
String | metavalue_key_ |
bool | reverse_ |
Predicate that determines if a class has a certain metavalue.
MetaContainer must be a MetaInfoInterface or have the same interface
|
inline |
Constructor.
metavalue | MetaValue that needs to be present. |
reverse | if reverse is true, operator() returns true if the metavalue does not exist. |
|
inline |
|
protected |
Referenced by HasMetaValue< MetaContainer >::operator()().
|
protected |
Referenced by HasMetaValue< MetaContainer >::operator()().