LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ScUnitConverterData Class Reference

#include <unitconv.hxx>

Public Member Functions

 ScUnitConverterData (const OUString &rFromUnit, const OUString &rToUnit, double fValue)
 
 ScUnitConverterData (const ScUnitConverterData &)=default
 
ScUnitConverterDataoperator= (const ScUnitConverterData &)=delete
 
double GetValue () const
 
const OUString & GetIndexString () const
 

Static Public Member Functions

static OUString BuildIndexString (const OUString &rFromUnit, const OUString &rToUnit)
 

Private Attributes

OUString maIndexString
 
double mfValue
 

Detailed Description

Definition at line 27 of file unitconv.hxx.

Constructor & Destructor Documentation

ScUnitConverterData::ScUnitConverterData ( const OUString &  rFromUnit,
const OUString &  rToUnit,
double  fValue 
)

Definition at line 32 of file unitconv.cxx.

ScUnitConverterData::ScUnitConverterData ( const ScUnitConverterData )
default

Member Function Documentation

OUString ScUnitConverterData::BuildIndexString ( const OUString &  rFromUnit,
const OUString &  rToUnit 
)
static

Definition at line 37 of file unitconv.cxx.

References cDelim.

Referenced by ScUnitConverter::GetValue().

const OUString& ScUnitConverterData::GetIndexString ( ) const
inline

Definition at line 39 of file unitconv.hxx.

References maIndexString.

Referenced by ScUnitConverter::ScUnitConverter().

double ScUnitConverterData::GetValue ( ) const
inline

Definition at line 38 of file unitconv.hxx.

References mfValue.

ScUnitConverterData& ScUnitConverterData::operator= ( const ScUnitConverterData )
delete

Member Data Documentation

OUString ScUnitConverterData::maIndexString
private

Definition at line 29 of file unitconv.hxx.

Referenced by GetIndexString().

double ScUnitConverterData::mfValue
private

Definition at line 30 of file unitconv.hxx.

Referenced by GetValue().


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