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. | |
| 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
| HasMetaValue | ( | String | metavalue, | |
| bool | reverse = false | |||
| ) | [inline] |
Constructor.
| metavalue | MetaValue that needs to be present. | |
| reverse | if reverse is true, operator() returns true if the metavalue does not exist. |
| bool operator() | ( | const MetaContainer & | s | ) | const [inline] |
String metavalue_key_ [protected] |
Referenced by HasMetaValue< MetaContainer >::operator()().
bool reverse_ [protected] |
Referenced by HasMetaValue< MetaContainer >::operator()().
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:55 using doxygen 1.7.1 |