51 class OPENMS_DLLAPI CVTermList :
53 public MetaInfoInterface
58 CVTermList() =
default;
61 CVTermList(
const CVTermList&) =
default;
64 CVTermList(CVTermList&&) =
default;
67 virtual ~CVTermList();
70 CVTermList& operator=(
const CVTermList&) =
default;
73 CVTermList& operator=(CVTermList&&) & =
default;
78 void setCVTerms(
const std::vector<CVTerm>& terms);
82 void replaceCVTerm(
const CVTerm& cv_term);
85 void replaceCVTerms(
const std::vector<CVTerm>& cv_terms,
const String& accession);
88 void replaceCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
91 void consumeCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
94 const Map<String, std::vector<CVTerm> >& getCVTerms()
const;
97 void addCVTerm(
const CVTerm& term);
109 bool operator==(
const CVTermList& cv_term_list)
const;
113 bool operator!=(
const CVTermList& cv_term_list)
const;
116 bool hasCVTerm(
const String& accession)
const;
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Map< String, std::vector< CVTerm > > cv_terms_
Definition: CVTermList.h:128
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:50