LibreOffice Module basic (master) 1
|
#include <sal/config.h>
#include <basic/sberrors.hxx>
#include "sbxconv.hxx"
#include <com/sun/star/bridge/oleautomation/Decimal.hpp>
Go to the source code of this file.
Functions | |
void | releaseDecimalPtr (SbxDecimal *&rpDecimal) |
SbxDecimal::CmpResult | compare (SAL_UNUSED_PARAMETER const SbxDecimal &, SAL_UNUSED_PARAMETER const SbxDecimal &) |
SbxDecimal * | ImpCreateDecimal (SbxValues *p) |
SbxDecimal * | ImpGetDecimal (const SbxValues *p) |
void | ImpPutDecimal (SbxValues *p, SbxDecimal *pDec) |
SbxDecimal::CmpResult compare | ( | SAL_UNUSED_PARAMETER const SbxDecimal & | , |
SAL_UNUSED_PARAMETER const SbxDecimal & | |||
) |
Definition at line 313 of file sbxdec.cxx.
References SbxDecimal::LT.
Referenced by SbxValue::Compare().
SbxDecimal * ImpCreateDecimal | ( | SbxValues * | p | ) |
Definition at line 376 of file sbxdec.cxx.
References SbxDecimal::addRef(), and p.
Referenced by ImpPutBool(), ImpPutByte(), ImpPutChar(), ImpPutCurrency(), ImpPutDate(), ImpPutDouble(), ImpPutInteger(), ImpPutLong(), ImpPutSingle(), ImpPutULong(), and ImpPutUShort().
SbxDecimal * ImpGetDecimal | ( | const SbxValues * | p | ) |
Definition at line 390 of file sbxdec.cxx.
References SbxDecimal::addRef(), ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_MATH_OVERFLOW, ERRCODE_BASIC_NO_OBJECT, eType, SbxValues::eType, SbxValue::GetDecimal(), ImpCurrencyToDouble(), SbxValues::nDouble, SbxValues::nInt64, SbxValues::nSingle, p, SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxEMPTY, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxNULL, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, SbxDecimal::setByte(), SbxDecimal::setChar(), SbxDecimal::setDecimal(), SbxDecimal::setDouble(), SbxBase::SetError(), SbxDecimal::setInt(), SbxDecimal::setLong(), SbxDecimal::setShort(), SbxDecimal::setSingle(), SbxDecimal::setString(), SbxDecimal::setULong(), SbxDecimal::setUShort(), start, and SbxValues::uInt64.
Referenced by SbxValue::Get(), and ImpPutString().
void ImpPutDecimal | ( | SbxValues * | p, |
SbxDecimal * | pDec | ||
) |
Definition at line 512 of file sbxdec.cxx.
References SbxDecimal::addRef(), d, ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_MATH_OVERFLOW, ERRCODE_BASIC_NO_OBJECT, SbxValues::eType, SbxDecimal::getChar(), SbxDecimal::getDouble(), SbxDecimal::getLong(), SbxDecimal::getShort(), SbxDecimal::getSingle(), SbxDecimal::getString(), SbxDecimal::getULong(), SbxDecimal::getUShort(), ImpDoubleToCurrency(), ImpDoubleToSalInt64(), ImpDoubleToSalUInt64(), p, SbxValues::pByte, SbxValues::pChar, SbxValues::pInteger, SbxValues::pLong, SbxValues::pnInt64, SbxValues::puInt64, SbxValues::pULong, SbxValues::pUShort, SbxValue::PutDecimal(), releaseDecimalPtr(), SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, SbxBase::SetError(), and start.
Referenced by ImpGetString(), and SbxValue::Put().
void releaseDecimalPtr | ( | SbxDecimal *& | rpDecimal | ) |
Definition at line 77 of file sbxdec.cxx.
Referenced by SbxMethod::Clear(), SbxValue::Clear(), SbxValue::Compare(), SbxValue::Compute(), ImpPutDecimal(), and ImpPutString().