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

#include <chartarr.hxx>

Public Member Functions

 ScMemChart (SCCOL nCols, SCROW nRows)
 
 ~ScMemChart ()
 
SCCOL GetColCount () const
 
SCROW GetRowCount () const
 
const OUString & GetColText (SCCOL nCol) const
 
const OUString & GetRowText (SCROW nRow) const
 
double GetData (SCCOL nCol, SCROW nRow) const
 
void SetData (SCCOL nCol, SCROW nRow, const double &rVal)
 
void SetColText (SCCOL nCol, const OUString &rText)
 
void SetRowText (SCROW nRow, const OUString &rText)
 

Private Member Functions

 ScMemChart (const ScMemChart &rMemChart)=delete
 

Private Attributes

SCROW nRowCnt
 
SCCOL nColCnt
 
std::unique_ptr< double[]> pData
 
std::unique_ptr< OUString[]> pColText
 
std::unique_ptr< OUString[]> pRowText
 

Detailed Description

Definition at line 34 of file chartarr.hxx.

Constructor & Destructor Documentation

ScMemChart::ScMemChart ( const ScMemChart rMemChart)
privatedelete
ScMemChart::ScMemChart ( SCCOL  nCols,
SCROW  nRows 
)

Definition at line 37 of file chartarr.cxx.

References nColCnt, nRowCnt, pColText, pData, and pRowText.

ScMemChart::~ScMemChart ( )

Definition at line 49 of file chartarr.cxx.

Member Function Documentation

SCCOL ScMemChart::GetColCount ( ) const
inline

Definition at line 48 of file chartarr.hxx.

References nColCnt.

const OUString& ScMemChart::GetColText ( SCCOL  nCol) const
inline

Definition at line 50 of file chartarr.hxx.

double ScMemChart::GetData ( SCCOL  nCol,
SCROW  nRow 
) const
inline

Definition at line 52 of file chartarr.hxx.

SCROW ScMemChart::GetRowCount ( ) const
inline

Definition at line 49 of file chartarr.hxx.

References nRowCnt.

const OUString& ScMemChart::GetRowText ( SCROW  nRow) const
inline

Definition at line 51 of file chartarr.hxx.

void ScMemChart::SetColText ( SCCOL  nCol,
const OUString &  rText 
)
inline

Definition at line 57 of file chartarr.hxx.

void ScMemChart::SetData ( SCCOL  nCol,
SCROW  nRow,
const double &  rVal 
)
inline

Definition at line 53 of file chartarr.hxx.

void ScMemChart::SetRowText ( SCROW  nRow,
const OUString &  rText 
)
inline

Definition at line 58 of file chartarr.hxx.

Member Data Documentation

SCCOL ScMemChart::nColCnt
private

Definition at line 37 of file chartarr.hxx.

Referenced by GetColCount(), and ScMemChart().

SCROW ScMemChart::nRowCnt
private

Definition at line 36 of file chartarr.hxx.

Referenced by GetRowCount(), and ScMemChart().

std::unique_ptr<OUString[]> ScMemChart::pColText
private

Definition at line 39 of file chartarr.hxx.

Referenced by ScMemChart().

std::unique_ptr<double[]> ScMemChart::pData
private

Definition at line 38 of file chartarr.hxx.

Referenced by ScMemChart().

std::unique_ptr<OUString[]> ScMemChart::pRowText
private

Definition at line 40 of file chartarr.hxx.

Referenced by ScMemChart().


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