LibreOffice Module scaddins (master) 1
|
#include <analysishelper.hxx>
Public Member Functions | |
ConvertData (const char pUnitName[], double fConvertConstant, ConvertDataClass eClass, bool bPrefSupport=false) | |
virtual | ~ConvertData () |
sal_Int16 | GetMatchingLevel (const OUString &rRef) const |
virtual double | Convert (double fVal, const ConvertData &rTo, sal_Int16 nMatchLevelFrom, sal_Int16 nMatchLevelTo) const |
virtual double | ConvertFromBase (double fVal, sal_Int16 nMatchLevel) const |
ConvertDataClass | Class () const |
Protected Attributes | |
double | fConst |
OUString | aName |
ConvertDataClass | eClass |
bool | bPrefixSupport |
Friends | |
class | ConvertDataList |
Definition at line 498 of file analysishelper.hxx.
ConvertData::ConvertData | ( | const char | pUnitName[], |
double | fConvertConstant, | ||
ConvertDataClass | eClass, | ||
bool | bPrefSupport = false |
||
) |
Definition at line 2035 of file analysishelper.cxx.
|
virtual |
Definition at line 2043 of file analysishelper.cxx.
|
inline |
Definition at line 712 of file analysishelper.hxx.
References eClass.
Referenced by Convert(), sca::analysis::ConvertDataLinear::Convert(), and GetMatchingLevel().
|
virtual |
css::uno::RuntimeException | |
css::lang::IllegalArgumentException |
Reimplemented in sca::analysis::ConvertDataLinear.
Definition at line 2146 of file analysishelper.cxx.
References sca::analysis::CDC_Information, Class(), and fConst.
Referenced by sca::analysis::ConvertDataList::Convert().
|
virtual |
Reimplemented in sca::analysis::ConvertDataLinear.
Definition at line 2182 of file analysishelper.cxx.
Referenced by sca::analysis::ConvertDataLinear::Convert().
sal_Int16 ConvertData::GetMatchingLevel | ( | const OUString & | rRef | ) | const |
<HACK> "cm3" is not 10^-2 m^3 but 10^-6 m^3 !!! ---------------—
</HACK> ----------------------------------------------------------------—
Definition at line 2047 of file analysishelper.cxx.
References aName, aStr, bPrefixSupport, sca::analysis::CDC_Information, Class(), INV_MATCHLEV, n, nIndex, and p.
|
friend |
Definition at line 501 of file analysishelper.hxx.
|
protected |
Definition at line 503 of file analysishelper.hxx.
Referenced by GetMatchingLevel().
|
protected |
Definition at line 505 of file analysishelper.hxx.
Referenced by GetMatchingLevel().
|
protected |
Definition at line 504 of file analysishelper.hxx.
Referenced by Class().
|
protected |
Definition at line 502 of file analysishelper.hxx.
Referenced by Convert(), ConvertFromBase(), sca::analysis::ConvertDataLinear::ConvertFromBase(), and sca::analysis::ConvertDataLinear::ConvertToBase().