35 #ifndef OPENMS_METADATA_CVTERMLIST_H
36 #define OPENMS_METADATA_CVTERMLIST_H
53 class OPENMS_DLLAPI CVTermList :
55 public MetaInfoInterface
63 CVTermList(
const CVTermList& rhs);
66 virtual ~CVTermList();
69 CVTermList& operator=(
const CVTermList& rhs);
74 void setCVTerms(
const std::vector<CVTerm>& terms);
78 void replaceCVTerm(
const CVTerm& cv_term);
81 void replaceCVTerms(
const std::vector<CVTerm>& cv_terms,
const String& accession);
84 void replaceCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
87 void consumeCVTerms(
const Map<String, std::vector<CVTerm> >& cv_term_map);
90 const Map<String, std::vector<CVTerm> >& getCVTerms()
const;
93 void addCVTerm(
const CVTerm& term);
105 bool operator==(
const CVTermList& cv_term_list)
const;
109 bool operator!=(
const CVTermList& cv_term_list)
const;
112 bool hasCVTerm(
const String& accession)
const;
130 #endif // OPENMS_DATASTRUCTURES_CVTERMLIST_H
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Map< String, std::vector< CVTerm > > cv_terms_
Definition: CVTermList.h:124
Map class based on the STL map (containing several convenience functions)
Definition: Map.h:51