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

#include <unitconv.hxx>

Public Member Functions

 ScUnitConverter ()
 
 ScUnitConverter (const ScUnitConverter &)=delete
 
const ScUnitConverteroperator= (const ScUnitConverter &)=delete
 
 ~ScUnitConverter ()
 
bool GetValue (double &fValue, std::u16string_view rFromUnit, std::u16string_view rToUnit) const
 

Private Types

typedef std::map< OUString, ScUnitConverterDataMapType
 

Private Attributes

MapType maData
 

Detailed Description

Definition at line 43 of file unitconv.hxx.

Member Typedef Documentation

◆ MapType

Definition at line 45 of file unitconv.hxx.

Constructor & Destructor Documentation

◆ ScUnitConverter() [1/2]

ScUnitConverter::ScUnitConverter ( )

◆ ScUnitConverter() [2/2]

ScUnitConverter::ScUnitConverter ( const ScUnitConverter )
delete

◆ ~ScUnitConverter()

ScUnitConverter::~ScUnitConverter ( )

Definition at line 101 of file unitconv.cxx.

Member Function Documentation

◆ GetValue()

bool ScUnitConverter::GetValue ( double &  fValue,
std::u16string_view  rFromUnit,
std::u16string_view  rToUnit 
) const

Definition at line 103 of file unitconv.cxx.

References aIndex, ScUnitConverterData::BuildIndexString(), and maData.

◆ operator=()

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

Member Data Documentation

◆ maData

MapType ScUnitConverter::maData
private

Definition at line 46 of file unitconv.hxx.

Referenced by GetValue(), and ScUnitConverter().


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