OpenMS
MzTabDouble Class Reference

#include <OpenMS/FORMAT/MzTabBase.h>

Collaboration diagram for MzTabDouble:
[legend]

Public Member Functions

 MzTabDouble ()
 
 MzTabDouble (const double v)
 
void set (const double &value)
 
double get () const
 
String toCellString () const
 
void fromCellString (const String &s)
 
bool isNull () const
 
void setNull (bool b)
 
bool isNaN () const
 
void setNaN ()
 
bool isInf () const
 
void setInf ()
 
 ~MzTabDouble ()=default
 
bool operator< (const MzTabDouble &rhs) const
 
bool operator== (const MzTabDouble &rhs) const
 

Protected Attributes

double value_
 
MzTabCellStateType state_
 

Constructor & Destructor Documentation

◆ MzTabDouble() [1/2]

◆ MzTabDouble() [2/2]

MzTabDouble ( const double  v)
explicit

◆ ~MzTabDouble()

~MzTabDouble ( )
default

Member Function Documentation

◆ fromCellString()

void fromCellString ( const String s)

◆ get()

double get ( ) const

◆ isInf()

bool isInf ( ) const

◆ isNaN()

bool isNaN ( ) const

◆ isNull()

bool isNull ( ) const

◆ operator<()

bool operator< ( const MzTabDouble rhs) const

◆ operator==()

bool operator== ( const MzTabDouble rhs) const

◆ set()

void set ( const double &  value)

◆ setInf()

void setInf ( )

◆ setNaN()

void setNaN ( )

◆ setNull()

void setNull ( bool  b)

◆ toCellString()

String toCellString ( ) const

Member Data Documentation

◆ state_

MzTabCellStateType state_
protected

◆ value_

double value_
protected