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. | |
| String | toString () const |
| Returns a string representation of the filter. | |
| void | fromString (const String &filter) |
Parses filter and sets the filter properties accordingly. | |
| bool | operator== (const DataFilter &rhs) const |
| Equality operator. | |
| bool | operator!= (const DataFilter &rhs) const |
| Inequality operator. | |
Public Attributes | |
| FilterType | field |
| Field to filter. | |
| FilterOperation | op |
| Filter operation. | |
| DoubleReal | value |
| Value for comparison. | |
| String | value_string |
| String value for comparison (for meta data). | |
| String | meta_name |
| Name of the considered meta information. | |
| bool | value_is_numerical |
| Bool value that indicates if the specified value is numerical. | |
Representation of a peak/feature filter combining FilterType, FilterOperation and a value.
| DataFilter | ( | ) | [inline] |
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 [inline] |
Inequality operator.
| bool operator== | ( | const DataFilter & | rhs | ) | const [inline] |
| String toString | ( | ) | const |
Returns a string representation of the filter.
Field to filter.
Referenced by TOPPViewBase::addData(), DataFilters::DataFilter::operator==(), and DataFilters::passes().
Name of the considered meta information.
Referenced by DataFilters::DataFilter::operator==(), and DataFilters::passes().
Filter operation.
Referenced by TOPPViewBase::addData(), DataFilters::metaPasses_(), DataFilters::DataFilter::operator==(), and DataFilters::passes().
Value for comparison.
Referenced by TOPPViewBase::addData(), DataFilters::metaPasses_(), DataFilters::DataFilter::operator==(), and DataFilters::passes().
| bool value_is_numerical |
Bool value that indicates if the specified value is numerical.
Referenced by DataFilters::metaPasses_(), and DataFilters::DataFilter::operator==().
String value for comparison (for meta data).
Referenced by DataFilters::metaPasses_(), and DataFilters::DataFilter::operator==().
| OpenMS / TOPP release 1.10.0 | Documentation generated on Thu Mar 7 2013 09:42:53 using doxygen 1.7.1 |