|
LibreOffice Module basic (master) 1
|
#include <sbx.hxx>
Public Member Functions | |
| SBX_DECL_PERSIST_NODATA (SBXID_DIMARRAY, 1) | |
| SbxDimArray (SbxDataType=SbxVARIANT) | |
| SbxDimArray (const SbxDimArray &)=delete | |
| SbxDimArray & | operator= (const SbxDimArray &) |
| virtual void | Clear () override |
| SbxVariable * | Get (SbxArray *) |
| SbxVariable * | Get (const sal_Int32 *) |
| void | Put (SbxVariable *, const sal_Int32 *) |
| sal_Int32 | GetDims () const |
| void | AddDim (sal_Int32, sal_Int32) |
| void | unoAddDim (sal_Int32, sal_Int32) |
| bool | GetDim (sal_Int32, sal_Int32 &, sal_Int32 &) const |
| bool | hasFixedSize () const |
| void | setHasFixedSize (bool bHasFixedSize) |
| SbxVariableRef & | GetRef (sal_uInt32) |
| SbxVariable * | Get (sal_uInt32) |
| void | Put (SbxVariable *, sal_uInt32) |
Public Member Functions inherited from SbxArray | |
| SBX_DECL_PERSIST_NODATA (SBXID_ARRAY, 1) | |
| SbxArray (SbxDataType=SbxVARIANT) | |
| SbxArray (const SbxArray &)=delete | |
| SbxArray & | operator= (const SbxArray &) |
| virtual void | Clear () override |
| sal_uInt32 | Count () const |
| virtual SbxDataType | GetType () const override |
| SbxVariableRef & | GetRef (sal_uInt32) |
| SbxVariable * | Get (sal_uInt32) |
| void | Put (SbxVariable *, sal_uInt32) |
| void | Insert (SbxVariable *, sal_uInt32) |
| void | Remove (sal_uInt32) |
| void | Remove (SbxVariable const *) |
| void | Merge (SbxArray *) |
| OUString | GetAlias (sal_uInt32) |
| void | PutAlias (const OUString &, sal_uInt32) |
| SbxVariable * | Find (const OUString &, SbxClassType) |
Public Member Functions inherited from SbxBase | |
| void | SetFlags (SbxFlagBits n) |
| SbxFlagBits | GetFlags () const |
| void | SetFlag (SbxFlagBits n) |
| void | ResetFlag (SbxFlagBits n) |
| bool | IsSet (SbxFlagBits n) const |
| bool | IsReset (SbxFlagBits n) const |
| bool | CanRead () const |
| bool | CanWrite () const |
| bool | IsModified () const |
| bool | IsHidden () const |
| bool | IsVisible () const |
| virtual bool | IsFixed () const |
| virtual void | SetModified (bool) |
| virtual SbxDataType | GetType () const |
| virtual void | Clear ()=0 |
| std::pair< bool, sal_uInt32 > | Store (SvStream &) |
| virtual bool | LoadCompleted () |
Public Member Functions inherited from SvRefBase | |
| SvRefBase () | |
| SvRefBase (const SvRefBase &) | |
| SvRefBase & | operator= (const SvRefBase &) |
| void | RestoreNoDelete () |
| void | AddNextRef () |
| void | AddFirstRef () |
| void | ReleaseRef () |
| unsigned int | GetRefCount () const |
Private Member Functions | |
| BASIC_DLLPRIVATE void | AddDimImpl (sal_Int32, sal_Int32, bool bAllowSize0) |
| sal_uInt32 | Offset (const sal_Int32 *) |
| sal_uInt32 | Offset (SbxArray *) |
| virtual bool | LoadData (SvStream &, sal_uInt16) override |
| virtual std::pair< bool, sal_uInt32 > | StoreData (SvStream &) const override |
| virtual | ~SbxDimArray () override |
Private Attributes | |
| std::vector< SbxDim > | m_vDimensions |
| bool | mbHasFixedSize |
Additional Inherited Members | |
Static Public Member Functions inherited from SbxBase | |
| static SbxBaseRef | Load (SvStream &) |
| static ErrCode const & | GetError () |
| static OUString const & | GetErrorMsg () |
| static void | SetError (ErrCode) |
| static void | SetError (ErrCode, const OUString &) |
| static bool | IsError () |
| static void | ResetError () |
| static void | AddFactory (SbxFactory *) |
| static void | RemoveFactory (SbxFactory const *) |
| static SbxBaseRef | Create (sal_uInt16, sal_uInt32) |
| static SbxObjectRef | CreateObject (const OUString &) |
Protected Member Functions inherited from SbxArray | |
| virtual | ~SbxArray () override |
| virtual bool | LoadData (SvStream &, sal_uInt16) override |
| virtual std::pair< bool, sal_uInt32 > | StoreData (SvStream &) const override |
Protected Member Functions inherited from SbxBase | |
| SbxBase () | |
| SbxBase (const SbxBase &) | |
| SbxBase & | operator= (const SbxBase &) |
| virtual | ~SbxBase () override |
| virtual sal_uInt16 | GetVersion () const =0 |
| virtual sal_uInt16 | GetSbxId () const =0 |
Protected Member Functions inherited from SvRefBase | |
| virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from SbxBase | |
| SbxFlagBits | nFlags |
|
overrideprivatevirtual |
Definition at line 416 of file sbxarray.cxx.
| SbxDimArray::SbxDimArray | ( | SbxDataType | t = SbxVARIANT | ) |
Definition at line 401 of file sbxarray.cxx.
|
delete |
| void SbxDimArray::AddDim | ( | sal_Int32 | lb, |
| sal_Int32 | ub | ||
| ) |
Definition at line 445 of file sbxarray.cxx.
Referenced by SbiParser::DefType(), SbiRuntime::DimImpl(), and StringToByteArray().
|
private |
Definition at line 428 of file sbxarray.cxx.
|
overridevirtual |
Reimplemented from SbxArray.
Definition at line 420 of file sbxarray.cxx.
Referenced by lcl_eraseImpl().
| SbxVariable * SbxDimArray::Get | ( | const sal_Int32 * | pIdx | ) |
Definition at line 494 of file sbxarray.cxx.
| SbxVariable * SbxArray::Get | ( | sal_uInt32 | nIdx | ) |
Definition at line 119 of file sbxarray.cxx.
| SbxVariable * SbxDimArray::Get | ( | SbxArray * | pPar | ) |
Definition at line 538 of file sbxarray.cxx.
Referenced by SbiRuntime::CheckArray(), implCopyDimArray(), implRekMultiDimArrayToSequence(), SbiRuntime::StepTESTFOR(), and SbxValue::TheRealValue().
| bool SbxDimArray::GetDim | ( | sal_Int32 | n, |
| sal_Int32 & | rlb, | ||
| sal_Int32 & | rub | ||
| ) | const |
Definition at line 458 of file sbxarray.cxx.
Referenced by implRestorePreservedArray(), SbiImage::Save(), and SbiRuntime::StepDCREATE_IMPL().
|
inline |
Definition at line 160 of file sbx.hxx.
Referenced by implRestorePreservedArray(), SbiImage::Save(), SbiRuntime::StepDCREATE_IMPL(), and SbiRuntime::StepTESTFOR().
| SbxVariableRef & SbxArray::GetRef | ( | sal_uInt32 | nIdx | ) |
Definition at line 118 of file sbxarray.cxx.
|
inline |
Definition at line 164 of file sbx.hxx.
Referenced by lcl_eraseImpl(), and SbiImage::Save().
|
overrideprivatevirtual |
Reimplemented from SbxArray.
Definition at line 543 of file sbxarray.cxx.
|
private |
Definition at line 474 of file sbxarray.cxx.
|
private |
Definition at line 505 of file sbxarray.cxx.
| SbxDimArray & SbxDimArray::operator= | ( | const SbxDimArray & | rArray | ) |
Definition at line 405 of file sbxarray.cxx.
| void SbxDimArray::Put | ( | SbxVariable * | p, |
| const sal_Int32 * | pIdx | ||
| ) |
Definition at line 499 of file sbxarray.cxx.
Referenced by implCopyDimArray(), implRestorePreservedArray(), implSequenceToMultiDimArray(), SbiRuntime::SetParameters(), and StringToByteArray().
| void SbxArray::Put | ( | SbxVariable * | pVar, |
| sal_uInt32 | nIdx | ||
| ) |
Definition at line 120 of file sbxarray.cxx.
| SbxDimArray::SBX_DECL_PERSIST_NODATA | ( | SBXID_DIMARRAY | , |
| 1 | |||
| ) |
|
inline |
Definition at line 165 of file sbx.hxx.
Referenced by SbiParser::DefType(), SbiRuntime::DimImpl(), and SbiImage::Load().
|
overrideprivatevirtual |
Reimplemented from SbxArray.
Definition at line 570 of file sbxarray.cxx.
| void SbxDimArray::unoAddDim | ( | sal_Int32 | lb, |
| sal_Int32 | ub | ||
| ) |
Definition at line 450 of file sbxarray.cxx.
Referenced by SbiParser::DefType(), SbiRuntime::DimImpl(), implSequenceToMultiDimArray(), SbiImage::Load(), SbiRuntime::SetParameters(), and StringToByteArray().