OpenMS
MzDataValidator.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: Marc Sturm $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
15  class ControlledVocabulary;
16  namespace Internal
17  {
18 
22  class OPENMS_DLLAPI MzDataValidator :
23  public SemanticValidator
24  {
25 public:
32  MzDataValidator(const CVMappings & mapping, const ControlledVocabulary & cv);
33 
35  ~MzDataValidator() override;
36 
37 protected:
38 
39  //Docu in base class
40  void handleTerm_(const String & path, const CVTerm & parsed_term) override;
41 
42 private:
43 
46 
49 
52 
53  };
54 
55  } // namespace Internal
56 
57 } // namespace OpenMS
58 
Representation of controlled vocabulary mapping rules (for PSI formats)
Definition: CVMappings.h:31
Representation of a controlled vocabulary.
Definition: ControlledVocabulary.h:29
Semantically validates MzXML files.
Definition: MzDataValidator.h:24
MzDataValidator(const MzDataValidator &rhs)
Not implemented.
void handleTerm_(const String &path, const CVTerm &parsed_term) override
Handling of the term.
MzDataValidator & operator=(const MzDataValidator &rhs)
Not implemented.
~MzDataValidator() override
Destructor.
MzDataValidator(const CVMappings &mapping, const ControlledVocabulary &cv)
Constructor.
Semantically validates XML files using CVMappings and a ControlledVocabulary.
Definition: SemanticValidator.h:32
Representation of a parsed CV term.
Definition: SemanticValidator.h:47
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22