35 #ifndef OPENMS_METADATA_CVTERM_H 36 #define OPENMS_METADATA_CVTERM_H 50 class OPENMS_DLLAPI CVTerm
63 accession(p_accession),
70 accession(rhs.accession),
100 return !(*
this == rhs);
127 void setAccession(
const String & accession);
131 const String & getAccession()
const;
134 void setName(
const String & name);
137 const String & getName()
const;
140 void setCVIdentifierRef(
const String & cv_identifier_ref);
143 const String & getCVIdentifierRef()
const;
152 void setUnit(
const Unit & unit);
155 const Unit & getUnit()
const;
168 bool hasValue()
const;
171 bool hasUnit()
const;
189 #endif // OPENMS_DATASTRUCTURES_CVTERM_H Unit unit_
Definition: CVTerm.h:182
A more convenient string class.
Definition: String.h:57
String name_
Definition: CVTerm.h:178
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Unit()
Definition: CVTerm.h:58
String accession
Definition: CVTerm.h:103
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
bool operator!=(const Unit &rhs) const
Definition: CVTerm.h:98
Unit(const String &p_accession, const String &p_name, const String &p_cv_ref)
Definition: CVTerm.h:62
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:57
String accession_
Definition: CVTerm.h:176
bool operator==(const Unit &rhs) const
Definition: CVTerm.h:91
String cv_identifier_ref_
Definition: CVTerm.h:180
Representation of controlled vocabulary term.
Definition: CVTerm.h:51
DataValue value_
Definition: CVTerm.h:184
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
Unit & operator=(const Unit &rhs)
Definition: CVTerm.h:80
Unit(const Unit &rhs)
Definition: CVTerm.h:69
virtual ~Unit()
Definition: CVTerm.h:76
String cv_ref
Definition: CVTerm.h:105
String name
Definition: CVTerm.h:104