51 class OPENMS_DLLAPI CVTermList :
53 public MetaInfoInterface
58 CVTermList() =
default;
61 CVTermList(
const CVTermList&) =
default;
68 CVTermList(CVTermList&&) noexcept;
71 virtual ~CVTermList();
74 CVTermList& operator=(const CVTermList& rhs) & = default;
77 CVTermList& operator=(CVTermList&&) & = default;
82 void setCVTerms(const
std::vector<CVTerm>& terms);
86 void replaceCVTerm(const CVTerm& cv_term);
89 void replaceCVTerms(const
std::vector<CVTerm>& cv_terms, const String& accession);
92 void replaceCVTerms(const
std::map<String,
std::vector<CVTerm> >& cv_term_map);
95 void consumeCVTerms(const
std::map<String,
std::vector<CVTerm> >& cv_term_map);
98 const
std::map<String,
std::vector<CVTerm> >& getCVTerms() const;
101 void addCVTerm(const CVTerm& term);
113 bool operator==(const CVTermList& cv_term_list) const;
117 bool operator!=(const CVTermList& cv_term_list) const;
120 bool hasCVTerm(const String& accession) const;
A more convenient string class.
Definition: String.h:58
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Representation of controlled vocabulary term.
Definition: CVTerm.h:52