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 String &name)
 sets the name of the CV reference
 
const StringgetName () const
 returns the name of the CV reference
 
void setIdentifier (const String &identifier)
 sets the CV identifier which is referenced
 
const StringgetIdentifier () const
 returns the CV identifier which is referenced
 

Predicates

String name_
 
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 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