OpenMS
CVReference Class Reference

Controlled Vocabulary Reference. More...

#include <OpenMS/DATASTRUCTURES/CVReference.h>

Collaboration diagram for CVReference:
[legend]

Public Member Functions

 CVReference ()
 Default constructor. More...
 
 CVReference (const CVReference &rhs)
 Copy constructor. More...
 
virtual ~CVReference ()
 Destructor. More...
 
CVReferenceoperator= (const CVReference &rhs)
 Assignment operator. More...
 
Accessors
void setName (const String &name)
 sets the name of the CV reference More...
 
const StringgetName () const
 returns the name of the CV reference More...
 
void setIdentifier (const String &identifier)
 sets the CV identifier which is referenced More...
 
const StringgetIdentifier () const
 returns the CV identifier which is referenced More...
 

Predicates

String name_
 
String identifier_
 
bool operator== (const CVReference &rhs) const
 equality operator More...
 
bool operator!= (const CVReference &rhs) const
 inequality operator More...
 

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 String& getIdentifier ( ) const

returns the CV identifier which is referenced

◆ getName()

const 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 String identifier)

sets the CV identifier which is referenced

◆ setName()

void setName ( const String name)

sets the name of the CV reference

Member Data Documentation

◆ identifier_

String identifier_
protected

◆ name_

String name_
protected