|
LibreOffice Module basic (master) 1
|
#include <config_features.h>#include <basic/sbx.hxx>#include "sbxconv.hxx"#include "sbxres.hxx"#include <runtime.hxx>#include <rtl/ustrbuf.hxx>#include <memory>Go to the source code of this file.
Functions | |
| OUString | ImpGetString (const SbxValues *p) |
| OUString | ImpGetCoreString (const SbxValues *p) |
| void | ImpPutString (SbxValues *p, const OUString *n) |
| SbxArray * | StringToByteArray (const OUString &rStr) |
| OUString | ByteArrayToString (SbxArray *pArr) |
| OUString ByteArrayToString | ( | SbxArray * | pArr | ) |
Definition at line 302 of file sbxstr.cxx.
References SbxArray::Count(), SbxArray::Get(), SbxValue::GetByte(), i, and nCount.
Referenced by ImpGetString(), and SbxValue::operator=().
| OUString ImpGetCoreString | ( | const SbxValues * | p | ) |
Definition at line 142 of file sbxstr.cxx.
References SbxValues::eType, ImpGetString(), ImpPutDouble(), p, SbxValues::pOUString, SbxBYREF, SbxDOUBLE, and SbxSTRING.
Referenced by SbxValue::Get().
| OUString ImpGetString | ( | const SbxValues * | p | ) |
Definition at line 32 of file sbxstr.cxx.
References ByteArrayToString(), ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_NO_OBJECT, ErrorMsg, SbxValues::eType, SbxValue::GetOUString(), GetSbxRes(), ImpPutBool(), ImpPutByte(), ImpPutChar(), ImpPutCurrency(), ImpPutDate(), ImpPutDecimal(), ImpPutDouble(), ImpPutInt64(), ImpPutInteger(), ImpPutLong(), ImpPutSingle(), ImpPutUInt64(), ImpPutULong(), ImpPutUShort(), p, SbxValues::pOUString, SbxARRAY, SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxEMPTY, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxNULL, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, and SbxBase::SetError().
Referenced by SbxValue::Get(), and ImpGetCoreString().
| void ImpPutString | ( | SbxValues * | p, |
| const OUString * | n | ||
| ) |
Definition at line 161 of file sbxstr.cxx.
References ERRCODE_BASIC_CONVERSION, ERRCODE_BASIC_NO_OBJECT, SbxValues::eType, ImpGetBool(), ImpGetByte(), ImpGetChar(), ImpGetCurrency(), ImpGetDate(), ImpGetDecimal(), ImpGetDouble(), ImpGetInt64(), ImpGetInteger(), ImpGetLong(), ImpGetSingle(), ImpGetUInt64(), ImpGetULong(), ImpGetUShort(), n, p, SbxValues::pOUString, SbxValue::PutString(), releaseDecimalPtr(), SbxBYREF, SbxBYTE, SbxCHAR, SbxCURRENCY, SbxDATE, SbxDECIMAL, SbxDOUBLE, SbxERROR, SbxINTEGER, SbxLONG, SbxLPSTR, SbxOBJECT, SbxSALINT64, SbxSALUINT64, SbxSINGLE, SbxSTRING, SbxULONG, SbxUSHORT, and SbxBase::SetError().
Referenced by SbxValue::Put().
| SbxArray * StringToByteArray | ( | const OUString & | rStr | ) |
Definition at line 266 of file sbxstr.cxx.
References SbxDimArray::AddDim(), i, IsBaseIndexOne(), SbxDimArray::Put(), SbxValue::PutByte(), SbxBYTE, SbxBase::SetFlag(), SbxDimArray::unoAddDim(), and Write.
Referenced by SbxValue::operator=().