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     const Map<String, std::vector<CVTerm> > & getCVTerms() 
const;
 
   90     void addCVTerm(
const CVTerm & term);
 
  102     bool operator==(
const CVTermList & cv_term_list) 
const;
 
  106     bool operator!=(
const CVTermList & cv_term_list) 
const;
 
  109     bool hasCVTerm(
const String & accession) 
const;
 
  127 #endif // OPENMS_DATASTRUCTURES_CVTERMLIST_H 
Map< String, std::vector< CVTerm > > cv_terms_
Definition: CVTermList.h:121
Map class based on the STL map (containing serveral convenience functions) 
Definition: Map.h:50