Spreadsheet::DisplayUnit Class Reference

#include <DisplayUnit.h>

Public Member Functions

 DisplayUnit (const std::string _stringRep="", const Base::Unit _unit=Base::Unit(), double _scaler=0.0)
 
bool isEmpty () const
 
bool operator!= (const DisplayUnit &c) const
 
bool operator== (const DisplayUnit &c) const
 

Public Attributes

double scaler
 
std::string stringRep
 
Base::Unit unit
 

Constructor & Destructor Documentation

◆ DisplayUnit()

Spreadsheet::DisplayUnit::DisplayUnit ( const std::string  _stringRep = "",
const Base::Unit  _unit = Base::Unit(),
double  _scaler = 0.0 
)

Member Function Documentation

◆ isEmpty()

bool Spreadsheet::DisplayUnit::isEmpty ( void  ) const

References stringRep.

Referenced by Spreadsheet::Cell::setDisplayUnit().

◆ operator!=()

bool Spreadsheet::DisplayUnit::operator!= ( const DisplayUnit c) const

References operator==().

◆ operator==()

bool Spreadsheet::DisplayUnit::operator== ( const DisplayUnit c) const

References scaler, stringRep, and unit.

Referenced by operator!=().

Member Data Documentation

◆ scaler

double Spreadsheet::DisplayUnit::scaler

◆ stringRep

◆ unit


The documentation for this class was generated from the following file: