38 #include <OpenMS/OpenMSConfig.h>
Representation of controlled vocabulary term.
Definition: CVMappingTerm.h:51
const String & getCVIdentifierRef() const
returns the cv identifier reference string
String term_name_
Definition: CVMappingTerm.h:130
void setUseTermName(bool use_term_name)
sets whether the term name should be used, instead of the accession
void setIsRepeatable(bool is_repeatable)
sets whether this term can be repeated
bool use_term_name_
Definition: CVMappingTerm.h:126
CVMappingTerm()
Defaults constructor.
void setTermName(const String &term_name)
sets the name of the term
bool is_repeatable_
Definition: CVMappingTerm.h:132
bool getUseTermName() const
returns whether the term name should be used, instead of the accession
CVMappingTerm(const CVMappingTerm &rhs)
Copy constructor.
const String & getTermName() const
returns the name of the term
void setCVIdentifierRef(const String &cv_identifier_ref)
sets the cv identifier reference string, e.g. UO for unit obo
bool getAllowChildren() const
returns true if the children of this term are allowed to be used
bool use_term_
Definition: CVMappingTerm.h:128
bool allow_children_
Definition: CVMappingTerm.h:134
bool operator!=(const CVMappingTerm &rhs) const
inequality operator
const String & getAccession() const
returns the accession string of the term
void setAllowChildren(bool allow_children)
sets whether children of this term are allowed
void setUseTerm(bool use_term)
sets whether the term itself can be used (or only its children)
String accession_
Definition: CVMappingTerm.h:124
bool getIsRepeatable() const
returns true if this term can be repeated, false otherwise
CVMappingTerm & operator=(const CVMappingTerm &rhs)
Assignment operator.
void setAccession(const String &accession)
sets the accession string of the term
bool operator==(const CVMappingTerm &rhs) const
equality operator
String cv_identifier_ref_
Definition: CVMappingTerm.h:136
bool getUseTerm() const
returns true if the term can be used, false if only children are allowed
virtual ~CVMappingTerm()
Destructor.
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47