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, long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState) const
 
void UpdateDataRow (const ScDPResultDimension *pRefDim, long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState) const
 
void UpdateRunningTotals (const ScDPResultDimension *pRefDim, long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState, ScDPRunningTotalState &rRunning, ScDPRowTotals &rTotals, const ScDPResultMember &rRowParent) const
 
void SortMembers (ScDPResultDimension *pRefDim)
 
long GetSortedIndex (long nUnsorted) const
 
void DoAutoShow (ScDPResultDimension *pRefDim)
 
void ResetResults ()
 
void DumpState (const ScDPResultDimension *pRefDim, ScDocument *pDoc, ScAddress &rPos) const
 
void Dump (int nIndent) const
 
long GetMemberCount () const
 
const ScDPDataMemberGetMember (long n) const
 
ScDPDataMemberGetMember (long n)
 

Private Attributes

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

Detailed Description

Definition at line 602 of file dptabres.hxx.

Constructor & Destructor Documentation

ScDPDataDimension::ScDPDataDimension ( const ScDPResultData pData)

or ptr to IntDimension?

Definition at line 3528 of file dptabres.cxx.

ScDPDataDimension::~ScDPDataDimension ( )

Definition at line 3535 of file dptabres.cxx.

Member Function Documentation

void ScDPDataDimension::DoAutoShow ( ScDPResultDimension pRefDim)
void ScDPDataDimension::Dump ( int  nIndent) const
void ScDPDataDimension::DumpState ( const ScDPResultDimension pRefDim,
ScDocument pDoc,
ScAddress rPos 
) const
void ScDPDataDimension::FillDataRow ( const ScDPResultDimension pRefDim,
ScDPResultFilterContext rFilterCxt,
css::uno::Sequence< css::sheet::DataResult > &  rSequence,
long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState 
) const
const ScDPDataMember * ScDPDataDimension::GetMember ( long  n) const
ScDPDataMember * ScDPDataDimension::GetMember ( long  n)

Definition at line 3874 of file dptabres.cxx.

long ScDPDataDimension::GetMemberCount ( ) const

Definition at line 3864 of file dptabres.cxx.

Referenced by ScDPResultDimension::GetColReferenceMember().

long ScDPDataDimension::GetSortedIndex ( long  nUnsorted) const
void ScDPDataDimension::InitFrom ( const ScDPResultDimension pDim)
void ScDPDataDimension::ProcessData ( const ::std::vector< SCROW > &  aDataMembers,
const ::std::vector< ScDPValue > &  aValues,
const ScDPSubTotalState rSubState 
)
void ScDPDataDimension::ResetResults ( )

Definition at line 3772 of file dptabres.cxx.

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

Referenced by ScDPDataMember::ResetResults().

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

Member Data Documentation

bool ScDPDataDimension::bIsDataLayout
private
std::vector<std::unique_ptr<ScDPDataMember> > ScDPDataDimension::maMembers
private
const ScDPResultData* ScDPDataDimension::pResultData
private

Definition at line 605 of file dptabres.hxx.

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

const ScDPResultDimension* ScDPDataDimension::pResultDimension
private

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