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

#include <dptabres.hxx>

Collaboration diagram for ScDPDataDimension:
[legend]

Public Member Functions

 ScDPDataDimension (const ScDPResultData *pData)
 or ptr to IntDimension? More...
 
 ~ScDPDataDimension ()
 
void InitFrom (const ScDPResultDimension *pDim)
 
void ProcessData (const ::std::vector< SCROW > &aDataMembers, const ::std::vector< ScDPValue > &aValues, const ScDPSubTotalState &rSubState)
 
void FillDataRow (const ScDPResultDimension *pRefDim, ScDPResultFilterContext &rFilterCxt, css::uno::Sequence< css::sheet::DataResult > &rSequence, tools::Long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState) const
 
void UpdateDataRow (const ScDPResultDimension *pRefDim, tools::Long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState) const
 
void UpdateRunningTotals (const ScDPResultDimension *pRefDim, tools::Long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState, ScDPRunningTotalState &rRunning, ScDPRowTotals &rTotals, const ScDPResultMember &rRowParent) const
 
void SortMembers (ScDPResultDimension *pRefDim)
 
tools::Long GetSortedIndex (tools::Long nUnsorted) const
 
void DoAutoShow (ScDPResultDimension *pRefDim)
 
void ResetResults ()
 
void DumpState (const ScDPResultDimension *pRefDim, ScDocument *pDoc, ScAddress &rPos) const
 
void Dump (int nIndent) const
 
tools::Long GetMemberCount () const
 
const ScDPDataMemberGetMember (tools::Long n) const
 
ScDPDataMemberGetMember (tools::Long n)
 

Private Attributes

const ScDPResultDatapResultData
 
const ScDPResultDimensionpResultDimension
 
std::vector< std::unique_ptr< ScDPDataMember > > maMembers
 
bool bIsDataLayout
 

Detailed Description

Definition at line 600 of file dptabres.hxx.

Constructor & Destructor Documentation

◆ ScDPDataDimension()

ScDPDataDimension::ScDPDataDimension ( const ScDPResultData pData)

or ptr to IntDimension?

Definition at line 3540 of file dptabres.cxx.

References pData.

◆ ~ScDPDataDimension()

ScDPDataDimension::~ScDPDataDimension ( )

Definition at line 3547 of file dptabres.cxx.

Member Function Documentation

◆ DoAutoShow()

void ScDPDataDimension::DoAutoShow ( ScDPResultDimension pRefDim)

◆ Dump()

void ScDPDataDimension::Dump ( int  nIndent) const

◆ DumpState()

void ScDPDataDimension::DumpState ( const ScDPResultDimension pRefDim,
ScDocument pDoc,
ScAddress rPos 
) const

◆ FillDataRow()

void ScDPDataDimension::FillDataRow ( const ScDPResultDimension pRefDim,
ScDPResultFilterContext rFilterCxt,
css::uno::Sequence< css::sheet::DataResult > &  rSequence,
tools::Long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState 
) const

◆ GetMember() [1/2]

ScDPDataMember * ScDPDataDimension::GetMember ( tools::Long  n)

Definition at line 3886 of file dptabres.cxx.

References maMembers, and n.

◆ GetMember() [2/2]

const ScDPDataMember * ScDPDataDimension::GetMember ( tools::Long  n) const

◆ GetMemberCount()

tools::Long ScDPDataDimension::GetMemberCount ( ) const

Definition at line 3876 of file dptabres.cxx.

References maMembers.

Referenced by ScDPResultDimension::GetColReferenceMember().

◆ GetSortedIndex()

tools::Long ScDPDataDimension::GetSortedIndex ( tools::Long  nUnsorted) const

◆ InitFrom()

void ScDPDataDimension::InitFrom ( const ScDPResultDimension pDim)

◆ ProcessData()

void ScDPDataDimension::ProcessData ( const ::std::vector< SCROW > &  aDataMembers,
const ::std::vector< ScDPValue > &  aValues,
const ScDPSubTotalState rSubState 
)

◆ ResetResults()

void ScDPDataDimension::ResetResults ( )

Definition at line 3784 of file dptabres.cxx.

References bIsDataLayout, i, maMembers, nCount, and ScDPDataMember::ResetResults().

Referenced by ScDPDataMember::ResetResults().

◆ SortMembers()

void ScDPDataDimension::SortMembers ( ScDPResultDimension pRefDim)

◆ UpdateDataRow()

void ScDPDataDimension::UpdateDataRow ( const ScDPResultDimension pRefDim,
tools::Long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState 
) const

◆ UpdateRunningTotals()

void ScDPDataDimension::UpdateRunningTotals ( const ScDPResultDimension pRefDim,
tools::Long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState,
ScDPRunningTotalState rRunning,
ScDPRowTotals rTotals,
const ScDPResultMember rRowParent 
) const

Member Data Documentation

◆ bIsDataLayout

bool ScDPDataDimension::bIsDataLayout
private

◆ maMembers

std::vector<std::unique_ptr<ScDPDataMember> > ScDPDataDimension::maMembers
private

◆ pResultData

const ScDPResultData* ScDPDataDimension::pResultData
private

Definition at line 603 of file dptabres.hxx.

Referenced by FillDataRow(), InitFrom(), UpdateDataRow(), and UpdateRunningTotals().

◆ pResultDimension

const ScDPResultDimension* ScDPDataDimension::pResultDimension
private

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