OpenMS
Loading...
Searching...
No Matches
PTMXMLFile.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: Timo Sachsenberg $
6// $Authors: $
7// --------------------------------------------------------------------------
8
9#pragma once
10
12
13#include <map>
14#include <vector>
15
16namespace OpenMS
17{
26 class OPENMS_DLLAPI PTMXMLFile :
28 {
29public:
32
42 void load(const std::string & filename, std::map<std::string, std::pair<std::string, std::string> > & ptm_informations);
43
51 void store(const std::string& filename, std::map<std::string, std::pair<std::string, std::string> > & ptm_informations) const;
52 };
53
54} // namespace OpenMS
55
Base class for loading and storing XML files via Xerces, with optional schema validation and transpar...
Definition XMLFile.h:38
Used to load and store PTMXML files.
Definition PTMXMLFile.h:28
void load(const std::string &filename, std::map< std::string, std::pair< std::string, std::string > > &ptm_informations)
Loads the information of a PTMXML file.
void store(const std::string &filename, std::map< std::string, std::pair< std::string, std::string > > &ptm_informations) const
Stores the data in an PTMXML file.
PTMXMLFile()
Constructor.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19