69 const std::map<String, Size>& headers,
70 std::vector<MRMFeatureQC::ComponentQCs>& c_qcs
84 const std::map<String, Size>& headers,
85 std::vector<MRMFeatureQC::ComponentGroupQCs>& cg_qcs
106 std::map<
String, std::pair<double,double>>& meta_values_qc
124 const std::map<String, Size>& headers,
127 const Int default_value
145 const std::map<String, Size>& headers,
148 const double default_value
166 const std::map<String, Size>& headers,
169 const String& default_value
This class handles csv files. Currently only loading is implemented. Does NOT support comment lines!
Definition: CsvFile.h:25
File adapter for MRMFeatureQC files.
Definition: MRMFeatureQCFile.h:28
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:33
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:27
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:72
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19