LibreOffice Module sc (master) 1
|
#include <unitconv.hxx>
Public Member Functions | |
ScUnitConverter () | |
ScUnitConverter (const ScUnitConverter &)=delete | |
const ScUnitConverter & | operator= (const ScUnitConverter &)=delete |
~ScUnitConverter () | |
bool | GetValue (double &fValue, std::u16string_view rFromUnit, std::u16string_view rToUnit) const |
Private Types | |
typedef std::map< OUString, ScUnitConverterData > | MapType |
Private Attributes | |
MapType | maData |
Definition at line 43 of file unitconv.hxx.
|
private |
Definition at line 45 of file unitconv.hxx.
ScUnitConverter::ScUnitConverter | ( | ) |
Definition at line 49 of file unitconv.cxx.
References aIndex, Any, aProperties, CFGPATH_UNIT, CFGSTR_UNIT_FACTOR, CFGSTR_UNIT_FROM, CFGSTR_UNIT_TO, ScUnitConverterData::GetIndexString(), utl::ConfigItem::GetNodeNames(), ScLinkConfigItem::GetProperties(), i, maData, nIndex, and sPrefix.
|
delete |
ScUnitConverter::~ScUnitConverter | ( | ) |
Definition at line 101 of file unitconv.cxx.
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.
|
delete |
|
private |
Definition at line 46 of file unitconv.hxx.
Referenced by GetValue(), and ScUnitConverter().