LibreOffice Module sc (master) 1
Public Member Functions | Private Types | Private Attributes | List of all members
XclImpCachedMatrix Class Reference

Contains cached values in a 2-dimensional array. More...

#include <xihelper.hxx>

Public Member Functions

 XclImpCachedMatrix (XclImpStream &rStrm)
 
 ~XclImpCachedMatrix ()
 
ScMatrixRef CreateScMatrix (svl::SharedStringPool &rPool) const
 Creates a new ScMatrix object and fills it with the contained values. More...
 

Private Types

typedef std::vector< std::unique_ptr< XclImpCachedValue > > XclImpValueList
 

Private Attributes

XclImpValueList maValueList
 
SCSIZE mnScCols
 List of cached cell values. More...
 
SCSIZE mnScRows
 Number of cached columns. More...
 

Detailed Description

Contains cached values in a 2-dimensional array.

Definition at line 333 of file xihelper.hxx.

Member Typedef Documentation

◆ XclImpValueList

typedef std::vector< std::unique_ptr<XclImpCachedValue> > XclImpCachedMatrix::XclImpValueList
private

Definition at line 343 of file xihelper.hxx.

Constructor & Destructor Documentation

◆ XclImpCachedMatrix()

XclImpCachedMatrix::XclImpCachedMatrix ( XclImpStream rStrm)
explicit

Definition at line 822 of file xihelper.cxx.

References EXC_BIFF5, maValueList, mnScCols, mnScRows, rStrm, and SAL_WARN.

◆ ~XclImpCachedMatrix()

XclImpCachedMatrix::~XclImpCachedMatrix ( )

Definition at line 857 of file xihelper.cxx.

Member Function Documentation

◆ CreateScMatrix()

ScMatrixRef XclImpCachedMatrix::CreateScMatrix ( svl::SharedStringPool rPool) const

Creates a new ScMatrix object and fills it with the contained values.

Definition at line 861 of file xihelper.cxx.

References EXC_CACHEDVAL_BOOL, EXC_CACHEDVAL_DOUBLE, EXC_CACHEDVAL_EMPTY, EXC_CACHEDVAL_ERROR, EXC_CACHEDVAL_STRING, svl::SharedStringPool::intern(), maValueList, mnScCols, and mnScRows.

Member Data Documentation

◆ maValueList

XclImpValueList XclImpCachedMatrix::maValueList
private

Definition at line 345 of file xihelper.hxx.

Referenced by CreateScMatrix(), and XclImpCachedMatrix().

◆ mnScCols

SCSIZE XclImpCachedMatrix::mnScCols
private

List of cached cell values.

Definition at line 346 of file xihelper.hxx.

Referenced by CreateScMatrix(), and XclImpCachedMatrix().

◆ mnScRows

SCSIZE XclImpCachedMatrix::mnScRows
private

Number of cached columns.

Definition at line 347 of file xihelper.hxx.

Referenced by CreateScMatrix(), and XclImpCachedMatrix().


The documentation for this class was generated from the following files: