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 (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 (long nMeasure, const ScDPSubTotalState &rSubState) const
 
double GetAggregate (long nMeasure, const ScDPSubTotalState &rSubState) const
 
const ScDPAggDataGetConstAggData (long nMeasure, const ScDPSubTotalState &rSubState) const
 
ScDPAggDataGetAggData (long nMeasure, const ScDPSubTotalState &rSubState)
 
void FillDataRow (const ScDPResultMember *pRefMember, ScDPResultFilterContext &rFilterCxt, css::uno::Sequence< css::sheet::DataResult > &rSequence, long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState) const
 
void UpdateDataRow (const ScDPResultMember *pRefMember, long nMeasure, bool bIsSubTotalRow, const ScDPSubTotalState &rSubState)
 
void UpdateRunningTotals (const ScDPResultMember *pRefMember, 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 427 of file dptabres.hxx.

Constructor & Destructor Documentation

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

Definition at line 1837 of file dptabres.cxx.

ScDPDataMember::~ScDPDataMember ( )

Definition at line 1844 of file dptabres.cxx.

Member Function Documentation

void ScDPDataMember::DoAutoShow ( ScDPResultMember pRefMember)
void ScDPDataMember::Dump ( int  nIndent) const
void ScDPDataMember::DumpState ( const ScDPResultMember pRefMember,
ScDocument pDoc,
ScAddress rPos 
) const
void ScDPDataMember::FillDataRow ( const ScDPResultMember pRefMember,
ScDPResultFilterContext rFilterCxt,
css::uno::Sequence< css::sheet::DataResult > &  rSequence,
long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState 
) const
ScDPAggData * ScDPDataMember::GetAggData ( long  nMeasure,
const ScDPSubTotalState rSubState 
)
double ScDPDataMember::GetAggregate ( long  nMeasure,
const ScDPSubTotalState rSubState 
) const

Definition at line 1990 of file dptabres.cxx.

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

Referenced by FillDataRow().

const ScDPDataDimension* ScDPDataMember::GetChildDimension ( ) const
inline
ScDPDataDimension* ScDPDataMember::GetChildDimension ( )
inline

Definition at line 483 of file dptabres.hxx.

References pChildDimension.

const ScDPAggData * ScDPDataMember::GetConstAggData ( long  nMeasure,
const ScDPSubTotalState rSubState 
) const
OUString ScDPDataMember::GetName ( ) const
bool ScDPDataMember::HasData ( long  nMeasure,
const ScDPSubTotalState rSubState 
) const
bool ScDPDataMember::HasError ( long  nMeasure,
const ScDPSubTotalState rSubState 
) const

Definition at line 1981 of file dptabres.cxx.

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

Referenced by FillDataRow().

bool ScDPDataMember::HasHiddenDetails ( ) const
void ScDPDataMember::InitFrom ( const ScDPResultDimension pDim)

Definition at line 1880 of file dptabres.cxx.

References pChildDimension, and pResultData.

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

bool ScDPDataMember::IsNamedItem ( SCROW  nRow) const

Definition at line 1864 of file dptabres.cxx.

References ScDPResultMember::IsNamedItem(), and pResultMember.

Referenced by ScDPDataDimension::ProcessData().

bool ScDPDataMember::IsVisible ( ) const
void ScDPDataMember::ProcessData ( const ::std::vector< SCROW > &  aChildMembers,
const ::std::vector< ScDPValue > &  aValues,
const ScDPSubTotalState rSubState 
)
void ScDPDataMember::ResetResults ( )
void ScDPDataMember::SortMembers ( ScDPResultMember pRefMember)
void ScDPDataMember::UpdateDataRow ( const ScDPResultMember pRefMember,
long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState 
)
void ScDPDataMember::UpdateRunningTotals ( const ScDPResultMember pRefMember,
long  nMeasure,
bool  bIsSubTotalRow,
const ScDPSubTotalState rSubState,
ScDPRunningTotalState rRunning,
ScDPRowTotals rTotals,
const ScDPResultMember rRowParent 
)
void ScDPDataMember::UpdateValues ( const ::std::vector< ScDPValue > &  aValues,
const ScDPSubTotalState rSubState 
)
private

Member Data Documentation

ScDPAggData ScDPDataMember::aAggregate
private

Definition at line 434 of file dptabres.hxx.

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

std::unique_ptr<ScDPDataDimension> ScDPDataMember::pChildDimension
private
const ScDPResultData* ScDPDataMember::pResultData
private
const ScDPResultMember* ScDPDataMember::pResultMember
private

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