OpenMS
IndexedMzMLFileLoader.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Hannes Roest $
6 // $Authors: Hannes Roest $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
13 
14 namespace OpenMS
15 {
16  class OnDiscMSExperiment;
18 
28  class OPENMS_DLLAPI IndexedMzMLFileLoader
29  {
30  public:
31 
34 
37 
40 
42  const PeakFileOptions& getOptions() const;
43 
45  void setOptions(const PeakFileOptions &);
46 
57  bool load(const String& filename, OnDiscPeakMap& exp);
58 
65  void store(const String& filename, OnDiscPeakMap& exp);
66 
73  void store(const String& filename, PeakMap& exp);
74 
75 private:
76 
79 
80  };
81 }
82 
83 
A class to load an indexedmzML file.
Definition: IndexedMzMLFileLoader.h:29
IndexedMzMLFileLoader()
Constructor.
void setOptions(const PeakFileOptions &)
set options for loading/storing
void store(const String &filename, OnDiscPeakMap &exp)
Store a file from an on-disc data-structure.
const PeakFileOptions & getOptions() const
Non-mutable access to the options for loading/storing.
PeakFileOptions options_
Options for storing.
Definition: IndexedMzMLFileLoader.h:78
PeakFileOptions & getOptions()
Mutable access to the options for loading/storing.
bool load(const String &filename, OnDiscPeakMap &exp)
Load a file.
void store(const String &filename, PeakMap &exp)
Store a file from an in-memory data-structure.
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:46
Representation of a mass spectrometry experiment on disk.
Definition: OnDiscMSExperiment.h:41
Options for loading files containing peak data.
Definition: PeakFileOptions.h:22
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
OpenMS::OnDiscMSExperiment OnDiscPeakMap
Definition: IndexedMzMLFileLoader.h:16