37 #include <OpenMS/OpenMSConfig.h>
Representation of a CV Mapping rule used by CVMappings.
Definition: CVMappingRule.h:54
Representation of controlled vocabulary mapping rules (for PSI formats)
Definition: CVMappings.h:57
void addMappingRule(const CVMappingRule &cv_mapping_rule)
adds a mapping rule
virtual ~CVMappings()
Destructor.
bool hasCVReference(const String &identifier)
returns true if a CV reference is given
const std::vector< CVReference > & getCVReferences() const
returns the CV references
CVMappings()
Default constructor.
CVMappings & operator=(const CVMappings &rhs)
Assignment operator.
const std::vector< CVMappingRule > & getMappingRules() const
returns the mapping rules
bool operator==(const CVMappings &rhs) const
equality operator
std::vector< CVReference > cv_references_vector_
Definition: CVMappings.h:113
bool operator!=(const CVMappings &rhs) const
inequality operator
void setMappingRules(const std::vector< CVMappingRule > &cv_mapping_rules)
sets the mapping rules of the mapping file
void addCVReference(const CVReference &cv_reference)
adds a CV reference
void setCVReferences(const std::vector< CVReference > &cv_references)
sets the CV references
CVMappings(const CVMappings &rhs)
Copy constructor.
std::map< String, CVReference > cv_references_
Definition: CVMappings.h:111
std::vector< CVMappingRule > mapping_rules_
Definition: CVMappings.h:109
Controlled Vocabulary Reference.
Definition: CVReference.h:53
A more convenient string class.
Definition: String.h:61
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47