35 #ifndef OPENMS_METADATA_CVTERMLISTINTERFACE_H 36 #define OPENMS_METADATA_CVTERMLISTINTERFACE_H 58 class OPENMS_DLLAPI CVTermListInterface :
60 public MetaInfoInterface
65 CVTermListInterface();
67 CVTermListInterface(
const CVTermListInterface & rhs);
70 ~CVTermListInterface();
73 CVTermListInterface & operator=(
const CVTermListInterface & rhs);
76 bool operator==(
const CVTermListInterface& rhs)
const;
79 bool operator!=(
const CVTermListInterface& rhs)
const;
81 void replaceCVTerms(Map<String, std::vector<CVTerm> > & cv_terms);
84 void setCVTerms(
const std::vector<CVTerm>& terms);
87 void replaceCVTerm(
const CVTerm& cv_term);
90 void replaceCVTerms(
const std::vector<CVTerm>& cv_terms,
const String& accession);
93 void replaceCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
96 void consumeCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
99 const Map<String, std::vector<CVTerm> >& getCVTerms()
const;
102 void addCVTerm(
const CVTerm& term);
105 bool hasCVTerm(
const String& accession)
const;
111 void createIfNotExists_();
118 #endif // OPENMS_DATASTRUCTURES_CVTERMLISTINTERFACE_H Representation of controlled vocabulary term list.
Definition: CVTermList.h:53
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
CVTermList * cvt_ptr_
Definition: CVTermListInterface.h:113
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824