OpenMS  2.8.0
Public Member Functions | Public Attributes | List of all members
CVTerm::Unit Struct Reference

#include <OpenMS/METADATA/CVTerm.h>

Collaboration diagram for CVTerm::Unit:
[legend]

Public Member Functions

 Unit ()=default
 Default constructor. More...
 
 Unit (const String &p_accession, const String &p_name, const String &p_cv_ref)
 
 Unit (const Unit &)=default
 Copy constructor. More...
 
 Unit (Unit &&)=default
 Move constructor. More...
 
virtual ~Unit ()
 Destructor. More...
 
Unitoperator= (const Unit &)=default
 Assignment operator. More...
 
Unitoperator= (Unit &&) &=default
 Move assignment operator. More...
 
bool operator== (const Unit &rhs) const
 
bool operator!= (const Unit &rhs) const
 

Public Attributes

String accession
 
String name
 
String cv_ref
 

Constructor & Destructor Documentation

◆ Unit() [1/4]

Unit ( )
default

Default constructor.

◆ Unit() [2/4]

Unit ( const String p_accession,
const String p_name,
const String p_cv_ref 
)
inline

◆ Unit() [3/4]

Unit ( const Unit )
default

Copy constructor.

◆ Unit() [4/4]

Unit ( Unit &&  )
default

Move constructor.

◆ ~Unit()

virtual ~Unit ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ operator!=()

bool operator!= ( const Unit rhs) const
inline

◆ operator=() [1/2]

Unit& operator= ( const Unit )
default

Assignment operator.

◆ operator=() [2/2]

Unit& operator= ( Unit &&  ) &
default

Move assignment operator.

◆ operator==()

bool operator== ( const Unit rhs) const
inline

Member Data Documentation

◆ accession

String accession

◆ cv_ref

String cv_ref

◆ name

String name