37 #include <OpenMS/OpenMSConfig.h>
Representation of a CV Mapping rule used by CVMappings.
Definition: CVMappingRule.h:54
const String & getIdentifier() const
returns the identifier of the rule
RequirementLevel
enum to specify the requirement level
Definition: CVMappingRule.h:59
const String & getScopePath() const
returns the scope path of the rule
bool operator==(const CVMappingRule &rhs) const
equality operator
void setRequirementLevel(RequirementLevel level)
sets the requirement level of this rule
CombinationsLogic
enum to specify the combination operator
Definition: CVMappingRule.h:67
void setIdentifier(const String &identifier)
sets the identifier of the rule
void setCVTerms(const std::vector< CVMappingTerm > &cv_terms)
sets the terms which are allowed
CVMappingRule & operator=(const CVMappingRule &rhs)
Assignment operator.
bool operator!=(const CVMappingRule &rhs) const
inequality operator
void setElementPath(const String &element_path)
sets the path of the element, where this rule is allowed
CVMappingRule(const CVMappingRule &rhs)
Copy constructor.
virtual ~CVMappingRule()
Destructor.
std::vector< CVMappingTerm > cv_terms_
Definition: CVMappingRule.h:150
void setCombinationsLogic(CombinationsLogic combinations_logic)
sets the combination operator of the rule
const String & getElementPath() const
returns the path of the element, where this rule is allowed
void addCVTerm(const CVMappingTerm &cv_terms)
adds a term to the allowed terms
const std::vector< CVMappingTerm > & getCVTerms() const
returns the allowed terms
void setScopePath(const String &path)
sets the scope path of the rule
String scope_path_
Definition: CVMappingRule.h:146
RequirementLevel getRequirementLevel() const
returns the requirement level of this rule
CombinationsLogic combinations_logic_
Definition: CVMappingRule.h:148
CombinationsLogic getCombinationsLogic() const
returns the combinations operator of the rule
String element_path_
Definition: CVMappingRule.h:142
CVMappingRule()
Default constructor.
RequirementLevel requirement_level_
Definition: CVMappingRule.h:144
String identifier_
Definition: CVMappingRule.h:140
Representation of controlled vocabulary term.
Definition: CVMappingTerm.h:51
A more convenient string class.
Definition: String.h:60
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:48