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 418 of file xehelper.hxx.

Constructor & Destructor Documentation

XclExpCachedMatrix::XclExpCachedMatrix ( const ScMatrix rMatrix)
explicit

Constructs and fills a new matrix.

Parameters
rMatrixThe Calc value matrix.

Definition at line 983 of file xehelper.cxx.

References ScMatrix::IncRef(), and mrMatrix.

XclExpCachedMatrix::~XclExpCachedMatrix ( )

Definition at line 988 of file xehelper.cxx.

References ScMatrix::DecRef(), and mrMatrix.

Member Function Documentation

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

Definition at line 993 of file xehelper.cxx.

References ScMatrix::GetDimensions(), and mrMatrix.

Referenced by GetSize(), and Save().

std::size_t XclExpCachedMatrix::GetSize ( ) const

Returns the byte count of all contained data.

Definition at line 1001 of file xehelper.cxx.

References GetDimensions().

void XclExpCachedMatrix::Save ( XclExpStream rStrm) const

Member Data Documentation

const ScMatrix& XclExpCachedMatrix::mrMatrix
private

Definition at line 433 of file xehelper.hxx.

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


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