Representation of controlled vocabulary term. More...
#include <OpenMS/METADATA/CVTerm.h>
| Classes | |
| struct | Unit | 
| Public Member Functions | |
| CVTerm () | |
| Default constructor.  More... | |
| CVTerm (const String &accession, const String &name, const String &cv_identifier_ref, const String &value, const Unit &unit) | |
| Detailed constructor.  More... | |
| CVTerm (const CVTerm &rhs) | |
| Copy constructor.  More... | |
| virtual | ~CVTerm () | 
| Destructor.  More... | |
| CVTerm & | operator= (const CVTerm &rhs) | 
| Assignment operator.  More... | |
| Accessors | |
| void | setAccession (const String &accession) | 
| sets the accession string of the term  More... | |
| const String & | getAccession () const | 
| returns the accession string of the term  More... | |
| void | setName (const String &name) | 
| sets the name of the term  More... | |
| const String & | getName () const | 
| returns the name of the term  More... | |
| void | setCVIdentifierRef (const String &cv_identifier_ref) | 
| sets the cv identifier reference string, e.g. UO for unit obo  More... | |
| const String & | getCVIdentifierRef () const | 
| returns the cv identifier reference string  More... | |
| void | setValue (const DataValue &value) | 
| set the value of the term  More... | |
| const DataValue & | getValue () const | 
| returns the value of the term  More... | |
| void | setUnit (const Unit &unit) | 
| sets the unit of the term  More... | |
| const Unit & | getUnit () const | 
| returns the unit  More... | |
| Predicates | |
| String | accession_ | 
| String | name_ | 
| String | cv_identifier_ref_ | 
| Unit | unit_ | 
| DataValue | value_ | 
| bool | operator== (const CVTerm &rhs) const | 
| equality operator  More... | |
| bool | operator!= (const CVTerm &rhs) const | 
| inequality operator  More... | |
| bool | hasValue () const | 
| checks whether the term has a value  More... | |
| bool | hasUnit () const | 
| checks whether the term has a unit  More... | |
Representation of controlled vocabulary term.
This class simply stores a CV term, its value and unit if necessary.Represenation of a CV term used by CVMappings
| CVTerm | ( | ) | 
Default constructor.
| CVTerm | ( | const String & | accession, | 
| const String & | name, | ||
| const String & | cv_identifier_ref, | ||
| const String & | value, | ||
| const Unit & | unit | ||
| ) | 
Detailed constructor.
| 
 | virtual | 
Destructor.
| const String& getAccession | ( | ) | const | 
returns the accession string of the term
| const String& getCVIdentifierRef | ( | ) | const | 
returns the cv identifier reference string
| const String& getName | ( | ) | const | 
returns the name of the term
| const Unit& getUnit | ( | ) | const | 
returns the unit
| const DataValue& getValue | ( | ) | const | 
returns the value of the term
| bool hasUnit | ( | ) | const | 
checks whether the term has a unit
| bool hasValue | ( | ) | const | 
checks whether the term has a value
| bool operator!= | ( | const CVTerm & | rhs | ) | const | 
inequality operator
| bool operator== | ( | const CVTerm & | rhs | ) | const | 
equality operator
| void setAccession | ( | const String & | accession | ) | 
sets the accession string of the term
| void setCVIdentifierRef | ( | const String & | cv_identifier_ref | ) | 
sets the cv identifier reference string, e.g. UO for unit obo
| void setName | ( | const String & | name | ) | 
sets the name of the term
| void setUnit | ( | const Unit & | unit | ) | 
sets the unit of the term
| void setValue | ( | const DataValue & | value | ) | 
set the value of the term
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:32 using doxygen 1.8.5 |