OpenMS
PTMXMLFile.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: Timo Sachsenberg $
6 // $Authors: $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 #include <OpenMS/FORMAT/XMLFile.h>
12 
13 #include <map>
14 #include <vector>
15 
16 namespace OpenMS
17 {
26  class OPENMS_DLLAPI PTMXMLFile :
27  public Internal::XMLFile
28  {
29 public:
32 
42  void load(const String & filename, std::map<String, std::pair<String, String> > & ptm_informations);
43 
51  void store(const String& filename, std::map<String, std::pair<String, String> > & ptm_informations) const;
52  };
53 
54 } // namespace OpenMS
55 
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:23
Used to load and store PTMXML files.
Definition: PTMXMLFile.h:28
void store(const String &filename, std::map< String, std::pair< String, String > > &ptm_informations) const
Stores the data in an PTMXML file.
PTMXMLFile()
Constructor.
void load(const String &filename, std::map< String, std::pair< String, String > > &ptm_informations)
Loads the information of a PTMXML file.
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19