95 const std::map<String, Size>& headers,
96 std::vector<MRMFeatureQC::ComponentQCs>& c_qcs
110 const std::map<String, Size>& headers,
111 std::vector<MRMFeatureQC::ComponentGroupQCs>& cg_qcs
132 std::map<
String, std::pair<double,double>>& meta_values_qc
150 const std::map<String, Size>& headers,
153 const Int default_value
171 const std::map<String, Size>& headers,
174 const double default_value
192 const std::map<String, Size>& headers,
195 const String& default_value
This class handles csv files. Currently only loading is implemented.
Definition: CsvFile.h:51
File adapter for MRMFeatureQC files.
Definition: MRMFeatureQCFile.h:54
void load(const String &filename, MRMFeatureQC &mrmfqc, const bool is_component_group) const
Loads an MRMFeatureQC file.
void store(const String &filename, const MRMFeatureQC &mrmfqc, const bool is_component_group)
void pushValuesFromLine_(const StringList &line, const std::map< String, Size > &headers, std::vector< MRMFeatureQC::ComponentQCs > &c_qcs) const
Save values from a line to a `ComponentQCs`.
void pushValuesFromLine_(const StringList &line, const std::map< String, Size > &headers, std::vector< MRMFeatureQC::ComponentGroupQCs > &cg_qcs) const
Save values from a line to a `ComponentGroupQCs`.
MRMFeatureQCFile()=default
Default constructor.
void setPairValue_(const String &key, const String &value, const String &boundary, std::map< String, std::pair< double, double >> &meta_values_qc) const
Set one of the values in a pair.
double getCastValue_(const std::map< String, Size > &headers, const StringList &line, const String &header, const double default_value) const
Extracts a column's value from a line.
~MRMFeatureQCFile() override=default
Destructor.
String getCastValue_(const std::map< String, Size > &headers, const StringList &line, const String &header, const String &default_value) const
Extracts a column's value from a line.
Int getCastValue_(const std::map< String, Size > &headers, const StringList &line, const String &header, const Int default_value) const
Extracts a column's value from a line.
The MRMFeatureQC is a class to handle the parameters and options for MRMFeatureFilter.
Definition: MRMFeatureQC.h:59
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:53
A more convenient string class.
Definition: String.h:60
int Int
Signed integer type.
Definition: Types.h:102
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47