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, const OUString &rFromUnit, const OUString &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

Definition at line 45 of file unitconv.hxx.

Constructor & Destructor Documentation

ScUnitConverter::ScUnitConverter ( )
ScUnitConverter::ScUnitConverter ( const ScUnitConverter )
delete
ScUnitConverter::~ScUnitConverter ( )

Definition at line 101 of file unitconv.cxx.

Member Function Documentation

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

Definition at line 103 of file unitconv.cxx.

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

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

Member Data Documentation

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: