|
OpenMS
2.5.0
|
Go to the documentation of this file.
63 accession(p_accession),
81 Unit& operator=(
const Unit&) =
default;
95 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;
DataValue value_
Definition: CVTerm.h:184
String cv_identifier_ref_
Definition: CVTerm.h:180
bool operator==(const Unit &rhs) const
Definition: CVTerm.h:86
A more convenient string class.
Definition: String.h:58
String name
Definition: CVTerm.h:99
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
String accession
Definition: CVTerm.h:98
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Class to hold strings, numeric values, lists of strings and lists of numeric values.
Definition: DataValue.h:56
Unit(const String &p_accession, const String &p_name, const String &p_cv_ref)
Definition: CVTerm.h:62
String accession_
Definition: CVTerm.h:176
bool operator!=(const Unit &rhs) const
Definition: CVTerm.h:93
Unit unit_
Definition: CVTerm.h:182
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Representation of controlled vocabulary term.
Definition: CVTerm.h:52
String cv_ref
Definition: CVTerm.h:100
String name_
Definition: CVTerm.h:178
virtual ~Unit()
Destructor.
Definition: CVTerm.h:76