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 33 of file chartarr.hxx.

Constructor & Destructor Documentation

◆ ScMemChart() [1/2]

ScMemChart::ScMemChart ( const ScMemChart rMemChart)
privatedelete

◆ ScMemChart() [2/2]

ScMemChart::ScMemChart ( SCCOL  nCols,
SCROW  nRows 
)

Definition at line 37 of file chartarr.cxx.

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

◆ ~ScMemChart()

ScMemChart::~ScMemChart ( )

Definition at line 49 of file chartarr.cxx.

Member Function Documentation

◆ GetColCount()

SCCOL ScMemChart::GetColCount ( ) const
inline

Definition at line 47 of file chartarr.hxx.

References nColCnt.

◆ GetColText()

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

Definition at line 49 of file chartarr.hxx.

References pColText.

◆ GetData()

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

Definition at line 51 of file chartarr.hxx.

References nRowCnt, and pData.

◆ GetRowCount()

SCROW ScMemChart::GetRowCount ( ) const
inline

Definition at line 48 of file chartarr.hxx.

References nRowCnt.

◆ GetRowText()

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

Definition at line 50 of file chartarr.hxx.

References pRowText.

◆ SetColText()

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

Definition at line 56 of file chartarr.hxx.

References pColText.

◆ SetData()

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

Definition at line 52 of file chartarr.hxx.

References nRowCnt, and pData.

◆ SetRowText()

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

Definition at line 57 of file chartarr.hxx.

References pRowText.

Member Data Documentation

◆ nColCnt

SCCOL ScMemChart::nColCnt
private

Definition at line 36 of file chartarr.hxx.

Referenced by GetColCount(), and ScMemChart().

◆ nRowCnt

SCROW ScMemChart::nRowCnt
private

Definition at line 35 of file chartarr.hxx.

Referenced by GetData(), GetRowCount(), ScMemChart(), and SetData().

◆ pColText

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

Definition at line 38 of file chartarr.hxx.

Referenced by GetColText(), ScMemChart(), and SetColText().

◆ pData

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

Definition at line 37 of file chartarr.hxx.

Referenced by GetData(), ScMemChart(), and SetData().

◆ pRowText

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

Definition at line 39 of file chartarr.hxx.

Referenced by GetRowText(), ScMemChart(), and SetRowText().


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