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

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

#include <xehelper.hxx>

Collaboration diagram for XclExpCachedMatrix:
[legend]

Public Member Functions

 XclExpCachedMatrix (const ScMatrix &rMatrix)
 Constructs and fills a new matrix. More...
 
 ~XclExpCachedMatrix ()
 
std::size_t GetSize () const
 Returns the byte count of all contained data. More...
 
void Save (XclExpStream &rStrm) const
 Writes the complete matrix to stream. More...
 

Private Member Functions

void GetDimensions (SCSIZE &nCols, SCSIZE &nRows) const
 

Private Attributes

const ScMatrixmrMatrix
 

Detailed Description

Contains cached values in a 2-dimensional array.

Definition at line 420 of file xehelper.hxx.

Constructor & Destructor Documentation

◆ XclExpCachedMatrix()

XclExpCachedMatrix::XclExpCachedMatrix ( const ScMatrix rMatrix)
explicit

Constructs and fills a new matrix.

Parameters
rMatrixThe Calc value matrix.

Definition at line 1024 of file xehelper.cxx.

References ScMatrix::IncRef(), and mrMatrix.

◆ ~XclExpCachedMatrix()

XclExpCachedMatrix::~XclExpCachedMatrix ( )

Definition at line 1029 of file xehelper.cxx.

References ScMatrix::DecRef(), and mrMatrix.

Member Function Documentation

◆ GetDimensions()

void XclExpCachedMatrix::GetDimensions ( SCSIZE nCols,
SCSIZE nRows 
) const
private

Definition at line 1034 of file xehelper.cxx.

References ScMatrix::GetDimensions(), and mrMatrix.

Referenced by GetSize(), and Save().

◆ GetSize()

std::size_t XclExpCachedMatrix::GetSize ( ) const

Returns the byte count of all contained data.

Definition at line 1042 of file xehelper.cxx.

References GetDimensions().

◆ Save()

void XclExpCachedMatrix::Save ( XclExpStream rStrm) const

Member Data Documentation

◆ mrMatrix

const ScMatrix& XclExpCachedMatrix::mrMatrix
private

Definition at line 435 of file xehelper.hxx.

Referenced by GetDimensions(), Save(), XclExpCachedMatrix(), and ~XclExpCachedMatrix().


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