35 #ifndef OPENMS_METADATA_CVTERMLIST_H 36 #define OPENMS_METADATA_CVTERMLIST_H 52 class OPENMS_DLLAPI CVTermList :
54 public MetaInfoInterface
62 CVTermList(
const CVTermList& rhs);
65 virtual ~CVTermList();
68 CVTermList& operator=(
const CVTermList& rhs);
73 void setCVTerms(
const std::vector<CVTerm>& terms);
77 void replaceCVTerm(
const CVTerm& cv_term);
80 void replaceCVTerms(
const std::vector<CVTerm>& cv_terms,
const String& accession);
83 void replaceCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
86 void consumeCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
89 const Map<String, std::vector<CVTerm> >& getCVTerms()
const;
92 void addCVTerm(
const CVTerm& term);
104 bool operator==(
const CVTermList& cv_term_list)
const;
108 bool operator!=(
const CVTermList& cv_term_list)
const;
111 bool hasCVTerm(
const String& accession)
const;
129 #endif // OPENMS_DATASTRUCTURES_CVTERMLIST_H
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Map< String, std::vector< CVTerm > > cv_terms_
Definition: CVTermList.h:123
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:51