Representation of controlled vocabulary term. More...
#include <OpenMS/DATASTRUCTURES/CVMappingTerm.h>
Public Member Functions | |
| CVMappingTerm () | |
| Defaults constructor. More... | |
| CVMappingTerm (const CVMappingTerm &rhs) | |
| Copy constructor. More... | |
| virtual | ~CVMappingTerm () |
| Destructor. More... | |
| CVMappingTerm & | operator= (const CVMappingTerm &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 | setUseTermName (bool use_term_name) |
| sets whether the term name should be used, instead of the accession More... | |
| bool | getUseTermName () const |
| returns whether the term name should be used, instead of the accession More... | |
| void | setUseTerm (bool use_term) |
| sets whether the term itself can be used (or only its children) More... | |
| bool | getUseTerm () const |
| returns true if the term can be used, false if only children are allowed More... | |
| void | setTermName (const String &term_name) |
| sets the name of the term More... | |
| const String & | getTermName () const |
| returns the name of the term More... | |
| void | setIsRepeatable (bool is_repeatable) |
| sets whether this term can be repeated More... | |
| bool | getIsRepeatable () const |
| returns true if this term can be repeated, false otherwise More... | |
| void | setAllowChildren (bool allow_children) |
| sets whether children of this term are allowed More... | |
| bool | getAllowChildren () const |
| returns true if the children of this term are allowed to be used 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... | |
Predicates | |
| String | accession_ |
| bool | use_term_name_ |
| bool | use_term_ |
| String | term_name_ |
| bool | is_repeatable_ |
| bool | allow_children_ |
| String | cv_identifier_ref_ |
| bool | operator== (const CVMappingTerm &rhs) const |
| equality operator More... | |
| bool | operator!= (const CVMappingTerm &rhs) const |
| inequality operator More... | |
Representation of controlled vocabulary term.
This class simply stores CV terms read from e.g. an OBO-fileRepresenation of a CV term used by CVMappings
| CVMappingTerm | ( | ) |
Defaults constructor.
| CVMappingTerm | ( | const CVMappingTerm & | rhs | ) |
Copy constructor.
|
virtual |
Destructor.
| const String& getAccession | ( | ) | const |
returns the accession string of the term
| bool getAllowChildren | ( | ) | const |
returns true if the children of this term are allowed to be used
| const String& getCVIdentifierRef | ( | ) | const |
returns the cv identifier reference string
| bool getIsRepeatable | ( | ) | const |
returns true if this term can be repeated, false otherwise
| const String& getTermName | ( | ) | const |
returns the name of the term
| bool getUseTerm | ( | ) | const |
returns true if the term can be used, false if only children are allowed
| bool getUseTermName | ( | ) | const |
returns whether the term name should be used, instead of the accession
| bool operator!= | ( | const CVMappingTerm & | rhs | ) | const |
inequality operator
| CVMappingTerm& operator= | ( | const CVMappingTerm & | rhs | ) |
Assignment operator.
| bool operator== | ( | const CVMappingTerm & | rhs | ) | const |
equality operator
| void setAccession | ( | const String & | accession | ) |
sets the accession string of the term
| void setAllowChildren | ( | bool | allow_children | ) |
sets whether children of this term are allowed
| void setCVIdentifierRef | ( | const String & | cv_identifier_ref | ) |
sets the cv identifier reference string, e.g. UO for unit obo
| void setIsRepeatable | ( | bool | is_repeatable | ) |
sets whether this term can be repeated
| void setTermName | ( | const String & | term_name | ) |
sets the name of the term
| void setUseTerm | ( | bool | use_term | ) |
sets whether the term itself can be used (or only its children)
| void setUseTermName | ( | bool | use_term_name | ) |
sets whether the term name should be used, instead of the accession
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:28 using doxygen 1.8.5 |