12 #include <OpenMS/OpenMSConfig.h>
Representation of controlled vocabulary term.
Definition: CVMappingTerm.h:25
const String & getCVIdentifierRef() const
returns the cv identifier reference string
String term_name_
Definition: CVMappingTerm.h:104
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:100
CVMappingTerm()
Defaults constructor.
void setTermName(const String &term_name)
sets the name of the term
bool is_repeatable_
Definition: CVMappingTerm.h:106
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:102
bool allow_children_
Definition: CVMappingTerm.h:108
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:98
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:110
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:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19