11 #include <OpenMS/OpenMSConfig.h>
93 void setCVTerms(
const std::vector<CVMappingTerm>& cv_terms);
Representation of a CV Mapping rule used by CVMappings.
Definition: CVMappingRule.h:28
const String & getIdentifier() const
returns the identifier of the rule
RequirementLevel
enum to specify the requirement level
Definition: CVMappingRule.h:33
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:41
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:124
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:120
RequirementLevel getRequirementLevel() const
returns the requirement level of this rule
CombinationsLogic combinations_logic_
Definition: CVMappingRule.h:122
CombinationsLogic getCombinationsLogic() const
returns the combinations operator of the rule
String element_path_
Definition: CVMappingRule.h:116
CVMappingRule()
Default constructor.
RequirementLevel requirement_level_
Definition: CVMappingRule.h:118
String identifier_
Definition: CVMappingRule.h:114
Representation of controlled vocabulary term.
Definition: CVMappingTerm.h:25
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19