OpenMS
UnimodXMLFile.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, 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: Andreas Bertsch $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
11 #include <OpenMS/FORMAT/XMLFile.h>
12 
13 namespace OpenMS
14 {
15  class ResidueModification;
16 
22  class OPENMS_DLLAPI UnimodXMLFile :
23  public Internal::XMLFile
24  {
25 public:
26 
29 
31  ~UnimodXMLFile() override;
42  void load(const String & filename, std::vector<ResidueModification *> & modifications);
43 
44 private:
45 
50 
51  };
52 
53 } // namespace OpenMS
54 
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition: XMLFile.h:23
A more convenient string class.
Definition: String.h:34
Used to load XML files from unimod.org files.
Definition: UnimodXMLFile.h:24
UnimodXMLFile(const UnimodXMLFile &rhs)
Not implemented.
UnimodXMLFile & operator=(const UnimodXMLFile &rhs)
Not implemented.
UnimodXMLFile()
Default constructor.
~UnimodXMLFile() override
Destructor.
void load(const String &filename, std::vector< ResidueModification * > &modifications)
loads data from unimod.xml file
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
sets the modification of AA at index by providing a pointer to a in the