|  | OpenMS
    2.6.0
    | 
Representation of controlled vocabulary mapping rules (for PSI formats) More...
#include <OpenMS/DATASTRUCTURES/CVMappings.h>
| Public Member Functions | |
| CVMappings () | |
| Default constructor.  More... | |
| CVMappings (const CVMappings &rhs) | |
| Copy constructor.  More... | |
| virtual | ~CVMappings () | 
| Destructor.  More... | |
| CVMappings & | operator= (const CVMappings &rhs) | 
| Assignment operator.  More... | |
| Accessors | |
| void | setMappingRules (const std::vector< CVMappingRule > &cv_mapping_rules) | 
| sets the mapping rules of the mapping file  More... | |
| const std::vector< CVMappingRule > & | getMappingRules () const | 
| returns the mapping rules  More... | |
| void | addMappingRule (const CVMappingRule &cv_mapping_rule) | 
| adds a mapping rule  More... | |
| void | setCVReferences (const std::vector< CVReference > &cv_references) | 
| sets the CV references  More... | |
| const std::vector< CVReference > & | getCVReferences () const | 
| returns the CV references  More... | |
| void | addCVReference (const CVReference &cv_reference) | 
| adds a CV reference  More... | |
| Predicates | |
| std::vector< CVMappingRule > | mapping_rules_ | 
| std::map< String, CVReference > | cv_references_ | 
| std::vector< CVReference > | cv_references_vector_ | 
| bool | hasCVReference (const String &identifier) | 
| returns true if a CV reference is given  More... | |
| bool | operator== (const CVMappings &rhs) const | 
| equality operator  More... | |
| bool | operator!= (const CVMappings &rhs) const | 
| inequality operator  More... | |
Representation of controlled vocabulary mapping rules (for PSI formats)
This file serves as object for the controlled vocabulary term usage definitions used in CV-Mapping files. All the supported attributes supported in the mapping file are supported by this class.
| CVMappings | ( | ) | 
Default constructor.
| CVMappings | ( | const CVMappings & | rhs | ) | 
Copy constructor.
| 
 | virtual | 
Destructor.
| void addCVReference | ( | const CVReference & | cv_reference | ) | 
adds a CV reference
| void addMappingRule | ( | const CVMappingRule & | cv_mapping_rule | ) | 
adds a mapping rule
| const std::vector<CVReference>& getCVReferences | ( | ) | const | 
returns the CV references
| const std::vector<CVMappingRule>& getMappingRules | ( | ) | const | 
returns the mapping rules
| bool hasCVReference | ( | const String & | identifier | ) | 
returns true if a CV reference is given
| bool operator!= | ( | const CVMappings & | rhs | ) | const | 
inequality operator
| CVMappings& operator= | ( | const CVMappings & | rhs | ) | 
Assignment operator.
| bool operator== | ( | const CVMappings & | rhs | ) | const | 
equality operator
| void setCVReferences | ( | const std::vector< CVReference > & | cv_references | ) | 
sets the CV references
| void setMappingRules | ( | const std::vector< CVMappingRule > & | cv_mapping_rules | ) | 
sets the mapping rules of the mapping file
| 
 | protected | 
| 
 | protected | 
| 
 | protected | 
 1.8.16
 1.8.16