![]() |
OpenMS
2.5.0
|
Representation of a peak/feature filter combining FilterType, FilterOperation and a value. More...
#include <OpenMS/FILTERING/DATAREDUCTION/DataFilters.h>
Public Member Functions | |
| DataFilter () | |
| Default constructor. More... | |
| String | toString () const |
| Returns a string representation of the filter. More... | |
| void | fromString (const String &filter) |
Parses filter and sets the filter properties accordingly. More... | |
| bool | operator== (const DataFilter &rhs) const |
| Equality operator. More... | |
| bool | operator!= (const DataFilter &rhs) const |
| Inequality operator. More... | |
Public Attributes | |
| FilterType | field |
| Field to filter. More... | |
| FilterOperation | op |
| Filter operation. More... | |
| double | value |
| Value for comparison. More... | |
| String | value_string |
| String value for comparison (for meta data) More... | |
| String | meta_name |
| Name of the considered meta information. More... | |
| bool | value_is_numerical |
| Bool value that indicates if the specified value is numerical. More... | |
Representation of a peak/feature filter combining FilterType, FilterOperation and a value.
| DataFilter | ( | ) |
Default constructor.
| void fromString | ( | const String & | filter | ) |
Parses filter and sets the filter properties accordingly.
This method accepts the format provided by toString().
| Exception::InvalidValue | is thrown when the filter is not formatted properly |
| bool operator!= | ( | const DataFilter & | rhs | ) | const |
Inequality operator.
| bool operator== | ( | const DataFilter & | rhs | ) | const |
Equality operator.
| String toString | ( | ) | const |
Returns a string representation of the filter.
| FilterType field |
Field to filter.
Referenced by TOPPViewBase::addData(), and DataFilters::passes().
| String meta_name |
Name of the considered meta information.
Referenced by DataFilters::passes().
Filter operation.
Referenced by TOPPViewBase::addData(), DataFilters::metaPasses_(), and DataFilters::passes().
| double value |
Value for comparison.
Referenced by TOPPViewBase::addData(), DataFilters::metaPasses_(), and DataFilters::passes().
| bool value_is_numerical |
Bool value that indicates if the specified value is numerical.
Referenced by DataFilters::metaPasses_().
| String value_string |
String value for comparison (for meta data)
Referenced by DataFilters::metaPasses_().
1.8.16