45 void load(
const std::string& filename,
MRMFeatureQC& mrmfqc,
const bool is_component_group)
const;
56 void store(
const std::string& filename,
const MRMFeatureQC& mrmfqc,
const bool is_component_group);
69 const std::map<std::string, Size>& headers,
70 std::vector<MRMFeatureQC::ComponentQCs>& c_qcs
84 const std::map<std::string, Size>& headers,
85 std::vector<MRMFeatureQC::ComponentGroupQCs>& cg_qcs
103 const std::string& key,
104 const std::string& value,
105 const std::string& boundary,
106 std::map<std::string, std::pair<double,double>>& meta_values_qc
124 const std::map<std::string, Size>& headers,
126 const std::string& header,
127 const Int default_value
145 const std::map<std::string, Size>& headers,
147 const std::string& header,
148 const double default_value
166 const std::map<std::string, Size>& headers,
168 const std::string& header,
169 const std::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 pushValuesFromLine_(const StringList &line, const std::map< std::string, Size > &headers, std::vector< MRMFeatureQC::ComponentQCs > &c_qcs) const
Save values from a line to a ComponentQCs.
Int getCastValue_(const std::map< std::string, Size > &headers, const StringList &line, const std::string &header, const Int default_value) const
Extracts a column's value from a line.
double getCastValue_(const std::map< std::string, Size > &headers, const StringList &line, const std::string &header, const double default_value) const
Extracts a column's value from a line.
std::string getCastValue_(const std::map< std::string, Size > &headers, const StringList &line, const std::string &header, const std::string &default_value) const
Extracts a column's value from a line.
MRMFeatureQCFile()=default
Default constructor.
void setPairValue_(const std::string &key, const std::string &value, const std::string &boundary, std::map< std::string, std::pair< double, double > > &meta_values_qc) const
Set one of the values in a pair.
void load(const std::string &filename, MRMFeatureQC &mrmfqc, const bool is_component_group) const
Loads an MRMFeatureQC file.
~MRMFeatureQCFile() override=default
Destructor.
void pushValuesFromLine_(const StringList &line, const std::map< std::string, Size > &headers, std::vector< MRMFeatureQC::ComponentGroupQCs > &cg_qcs) const
Save values from a line to a ComponentGroupQCs.
void store(const std::string &filename, const MRMFeatureQC &mrmfqc, const bool is_component_group)
The MRMFeatureQC is a class to handle the parameters and options for MRMFeatureFilter.
Definition MRMFeatureQC.h:60
Base class for all classes that want to report their progress.
Definition ProgressLogger.h:27
int Int
Signed integer type.
Definition Types.h:72
std::vector< std::string > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19