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 (std::u16string_view rFromUnit, std::u16string_view 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 (std::u16string_view rFromUnit, std::u16string_view rToUnit)
 

Private Attributes

OUString maIndexString
 
double mfValue
 

Detailed Description

Definition at line 27 of file unitconv.hxx.

Constructor & Destructor Documentation

◆ ScUnitConverterData() [1/2]

ScUnitConverterData::ScUnitConverterData ( std::u16string_view  rFromUnit,
std::u16string_view  rToUnit,
double  fValue 
)

Definition at line 32 of file unitconv.cxx.

◆ ScUnitConverterData() [2/2]

ScUnitConverterData::ScUnitConverterData ( const ScUnitConverterData )
default

Member Function Documentation

◆ BuildIndexString()

OUString ScUnitConverterData::BuildIndexString ( std::u16string_view  rFromUnit,
std::u16string_view  rToUnit 
)
static

Definition at line 37 of file unitconv.cxx.

References cDelim.

Referenced by ScUnitConverter::GetValue().

◆ GetIndexString()

const OUString & ScUnitConverterData::GetIndexString ( ) const
inline

Definition at line 38 of file unitconv.hxx.

References maIndexString.

Referenced by ScUnitConverter::ScUnitConverter().

◆ GetValue()

double ScUnitConverterData::GetValue ( ) const
inline

Definition at line 37 of file unitconv.hxx.

References mfValue.

◆ operator=()

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

Member Data Documentation

◆ maIndexString

OUString ScUnitConverterData::maIndexString
private

Definition at line 29 of file unitconv.hxx.

Referenced by GetIndexString().

◆ mfValue

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: