OpenMS
AbsoluteQuantitationStandardsFile.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Douglas McCloskey, Pasquale Domenico Colaianni $
6 // $Authors: Douglas McCloskey, Pasquale Domenico Colaianni $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 #include <OpenMS/config.h> // OPENMS_DLLAPI
12 #include <OpenMS/FORMAT/CsvFile.h>
14 
15 namespace OpenMS
16 {
21  {
22 public:
25 
38  void load(
39  const String& filename,
40  std::vector<AbsoluteQuantitationStandards::runConcentration>& run_concentrations
41  ) const;
42 
43 protected:
58  const StringList& line,
59  const std::map<String, Size>& headers
60  ) const;
61  };
62 }
63 
Load files containing runConcentration data.
Definition: AbsoluteQuantitationStandardsFile.h:21
void load(const String &filename, std::vector< AbsoluteQuantitationStandards::runConcentration > &run_concentrations) const
Load runConcentration data from a file and save it in memory.
AbsoluteQuantitationStandards::runConcentration extractRunFromLine_(const StringList &line, const std::map< String, Size > &headers) const
Extract one runConcentration from a single line.
virtual ~AbsoluteQuantitationStandardsFile()=default
Structure to map runs to components to known concentrations.
Definition: AbsoluteQuantitationStandards.h:37
A more convenient string class.
Definition: String.h:34
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19