22#include <rtl/ustring.hxx>
33 ScUnitConverterData(std::u16string_view rFromUnit, std::u16string_view rToUnit,
double fValue);
40 static OUString
BuildIndexString(std::u16string_view rFromUnit, std::u16string_view rToUnit);
45 typedef std::map<OUString, ScUnitConverterData>
MapType;
54 bool GetValue(
double& fValue, std::u16string_view rFromUnit, std::u16string_view rToUnit)
const;
ScUnitConverterData & operator=(const ScUnitConverterData &)=delete
ScUnitConverterData(std::u16string_view rFromUnit, std::u16string_view rToUnit, double fValue)
static OUString BuildIndexString(std::u16string_view rFromUnit, std::u16string_view rToUnit)
const OUString & GetIndexString() const
ScUnitConverterData(const ScUnitConverterData &)=default
bool GetValue(double &fValue, std::u16string_view rFromUnit, std::u16string_view rToUnit) const
std::map< OUString, ScUnitConverterData > MapType
const ScUnitConverter & operator=(const ScUnitConverter &)=delete
ScUnitConverter(const ScUnitConverter &)=delete