![]() |
OpenMS
|
Predicate to check if a HitType object has a minimum meta value. More...
#include <OpenMS/PROCESSING/ID/IDFilter.h>
Public Types | |
| typedef HitType | argument_type |
Public Member Functions | |
| HasMinMetaValue (const String &key_, const double &value_) | |
| Constructor for HasMinMetaValue. More... | |
| bool | operator() (const HitType &hit) const |
| Operator() function to check if a HitType object has a minimum meta value. More... | |
Public Attributes | |
| String | key |
| double | value |
Predicate to check if a HitType object has a minimum meta value.
This struct is used as a predicate in filtering operations to check if a HitType object has a meta value with a value greater than or equal to a specified threshold. Can be used with any HitType object that has a meta value with a double value.
| typedef HitType argument_type |
|
inline |
Constructor for HasMinMetaValue.
| key_ | The key of the meta value to check. |
| value_ | The minimum value threshold. |
|
inline |
Operator() function to check if a HitType object has a minimum meta value.
| hit | The HitType object to check. |
References DataValue::isEmpty().
| String key |
| double value |