OpenMS
Loading...
Searching...
No Matches
CVReference Class Reference

Controlled Vocabulary Reference. More...

#include <OpenMS/DATASTRUCTURES/CVReference.h>

Collaboration diagram for CVReference:
[legend]

Public Member Functions

 CVReference ()
 Default constructor.
 
 CVReference (const CVReference &rhs)
 Copy constructor.
 
virtual ~CVReference ()
 Destructor.
 
CVReferenceoperator= (const CVReference &rhs)
 Assignment operator.
 
Accessors
void setName (const std::string &name)
 sets the name of the CV reference
 
const std::string & getName () const
 returns the name of the CV reference
 
void setIdentifier (const std::string &identifier)
 sets the CV identifier which is referenced
 
const std::string & getIdentifier () const
 returns the CV identifier which is referenced
 

Predicates

std::string name_
 
std::string identifier_
 
bool operator== (const CVReference &rhs) const
 equality operator
 
bool operator!= (const CVReference &rhs) const
 inequality operator
 

Detailed Description

Controlled Vocabulary Reference.

Reference to a controlled vocabulary, defined in the first section of a mapping file.

Constructor & Destructor Documentation

◆ CVReference() [1/2]

Default constructor.

◆ CVReference() [2/2]

CVReference ( const CVReference rhs)

Copy constructor.

◆ ~CVReference()

virtual ~CVReference ( )
virtual

Destructor.

Member Function Documentation

◆ getIdentifier()

const std::string & getIdentifier ( ) const

returns the CV identifier which is referenced

◆ getName()

const std::string & getName ( ) const

returns the name of the CV reference

◆ operator!=()

bool operator!= ( const CVReference rhs) const

inequality operator

◆ operator=()

CVReference & operator= ( const CVReference rhs)

Assignment operator.

◆ operator==()

bool operator== ( const CVReference rhs) const

equality operator

◆ setIdentifier()

void setIdentifier ( const std::string &  identifier)

sets the CV identifier which is referenced

◆ setName()

void setName ( const std::string &  name)

sets the name of the CV reference

Member Data Documentation

◆ identifier_

std::string identifier_
protected

◆ name_

std::string name_
protected