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

#include <dptabres.hxx>

Collaboration diagram for ScDPDataMember:
[legend]

Public Member Functions

 ScDPDataMember (const ScDPResultData *pData, const ScDPResultMember *pRes)
 
 ~ScDPDataMember ()
 
void InitFrom (const ScDPResultDimension *pDim)
 
OUString GetName () const
 
bool IsVisible () const
 
bool HasData (tools::Long nMeasure, const ScDPSubTotalState &rSubState) const
 
bool IsNamedItem (SCROW nRow) const
 
bool HasHiddenDetails () const
 
void ProcessData (const ::std::vector< SCROW > &aChildMembers, const ::std::vector< ScDPValue > &aValues, const ScDPSubTotalState &rSubState)
 
bool HasError (tools::Long nMeasure, const ScDPSubTotalState &rSubState) const
 
double GetAggregate (tools::Long nMeasure, const ScDPSubTotalState &rSubState) const
 
const ScDPAggDataGetConstAggData (tools::Long nMeasure, const ScDPSubTotalState &rSubState) const
 
ScDPAggDataGetAggData (tools::Long nMeasure, const ScDPSubTotalState &rSubState)
 
void FillDataRow (const ScDPResultMember *pRefMember, ScDPResultFilterContext &rFilterCxt, css::uno::Sequence< css::sheet::DataResult > &rSequence, tools::Long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState) const
 
void UpdateDataRow (const ScDPResultMember *pRefMember, tools::Long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState)
 
void UpdateRunningTotals (const ScDPResultMember *pRefMember, tools::Long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState, ScDPRunningTotalState &rRunning, ScDPRowTotals &rTotals, const ScDPResultMember &rRowParent)
 
void SortMembers (ScDPResultMember *pRefMember)
 
void DoAutoShow (ScDPResultMember *pRefMember)
 
void ResetResults ()
 
void DumpState (const ScDPResultMember *pRefMember, ScDocument *pDoc, ScAddress &rPos) const
 
void Dump (int nIndent) const
 
const ScDPDataDimensionGetChildDimension () const
 this will be removed! More...
 
ScDPDataDimensionGetChildDimension ()
 

Private Member Functions

void UpdateValues (const ::std::vector< ScDPValue > &aValues, const ScDPSubTotalState &rSubState)
 

Private Attributes

const ScDPResultDatapResultData
 
const ScDPResultMemberpResultMember
 
std::unique_ptr< ScDPDataDimensionpChildDimension
 Ref? More...
 
ScDPAggData aAggregate
 

Detailed Description

Definition at line 425 of file dptabres.hxx.

Constructor & Destructor Documentation

◆ ScDPDataMember()

ScDPDataMember::ScDPDataMember ( const ScDPResultData pData,
const ScDPResultMember pRes 
)

Definition at line 1843 of file dptabres.cxx.

References pData.

◆ ~ScDPDataMember()

ScDPDataMember::~ScDPDataMember ( )

Definition at line 1850 of file dptabres.cxx.

Member Function Documentation

◆ DoAutoShow()

void ScDPDataMember::DoAutoShow ( ScDPResultMember pRefMember)

◆ Dump()

void ScDPDataMember::Dump ( int  nIndent) const

◆ DumpState()

void ScDPDataMember::DumpState ( const ScDPResultMember pRefMember,
ScDocument pDoc,
ScAddress rPos 
) const

◆ FillDataRow()

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

◆ GetAggData()

ScDPAggData * ScDPDataMember::GetAggData ( tools::Long  nMeasure,
const ScDPSubTotalState rSubState 
)

◆ GetAggregate()

double ScDPDataMember::GetAggregate ( tools::Long  nMeasure,
const ScDPSubTotalState rSubState 
) const

Definition at line 1996 of file dptabres.cxx.

References GetConstAggData(), and ScDPAggData::GetResult().

Referenced by FillDataRow().

◆ GetChildDimension() [1/2]

ScDPDataDimension * ScDPDataMember::GetChildDimension ( )
inline

Definition at line 481 of file dptabres.hxx.

References pChildDimension.

◆ GetChildDimension() [2/2]

const ScDPDataDimension * ScDPDataMember::GetChildDimension ( ) const
inline

◆ GetConstAggData()

const ScDPAggData * ScDPDataMember::GetConstAggData ( tools::Long  nMeasure,
const ScDPSubTotalState rSubState 
) const

◆ GetName()

OUString ScDPDataMember::GetName ( ) const

◆ HasData()

bool ScDPDataMember::HasData ( tools::Long  nMeasure,
const ScDPSubTotalState rSubState 
) const

◆ HasError()

bool ScDPDataMember::HasError ( tools::Long  nMeasure,
const ScDPSubTotalState rSubState 
) const

Definition at line 1987 of file dptabres.cxx.

References GetConstAggData(), and ScDPAggData::HasError().

Referenced by FillDataRow().

◆ HasHiddenDetails()

bool ScDPDataMember::HasHiddenDetails ( ) const

◆ InitFrom()

void ScDPDataMember::InitFrom ( const ScDPResultDimension pDim)

Definition at line 1886 of file dptabres.cxx.

References pChildDimension, and pResultData.

Referenced by ScDPDataDimension::InitFrom(), and ProcessData().

◆ IsNamedItem()

bool ScDPDataMember::IsNamedItem ( SCROW  nRow) const

Definition at line 1870 of file dptabres.cxx.

References ScDPResultMember::IsNamedItem(), and pResultMember.

Referenced by ScDPDataDimension::ProcessData().

◆ IsVisible()

bool ScDPDataMember::IsVisible ( ) const

◆ ProcessData()

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

◆ ResetResults()

void ScDPDataMember::ResetResults ( )

◆ SortMembers()

void ScDPDataMember::SortMembers ( ScDPResultMember pRefMember)

◆ UpdateDataRow()

void ScDPDataMember::UpdateDataRow ( const ScDPResultMember pRefMember,
tools::Long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState 
)

◆ UpdateRunningTotals()

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

◆ UpdateValues()

void ScDPDataMember::UpdateValues ( const ::std::vector< ScDPValue > &  aValues,
const ScDPSubTotalState rSubState 
)
private

Member Data Documentation

◆ aAggregate

ScDPAggData ScDPDataMember::aAggregate
private

Definition at line 432 of file dptabres.hxx.

Referenced by GetAggData(), GetConstAggData(), ResetResults(), and UpdateValues().

◆ pChildDimension

std::unique_ptr<ScDPDataDimension> ScDPDataMember::pChildDimension
private

◆ pResultData

const ScDPResultData* ScDPDataMember::pResultData
private

◆ pResultMember

const ScDPResultMember* ScDPDataMember::pResultMember
private

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