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

This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class does and document it here. More...

#include <dpdimsave.hxx>

Public Member Functions

 ScDPDimensionSaveData ()
 
 ScDPDimensionSaveData (ScDPDimensionSaveData const &)=default
 
bool operator== (const ScDPDimensionSaveData &r) const
 
void WriteToData (ScDPGroupTableData &rData) const
 
void WriteToCache (ScDPCache &rCache) const
 
OUString CreateGroupDimName (const OUString &rSourceName, const ScDPObject &rObject, bool bAllowSource, const ::std::vector< OUString > *pDeletedNames)
 
OUString CreateDateGroupDimName (sal_Int32 nDatePart, const ScDPObject &rObject, bool bAllowSource, const ::std::vector< OUString > *pDeletedNames)
 
void AddGroupDimension (const ScDPSaveGroupDimension &rGroupDim)
 
void ReplaceGroupDimension (const ScDPSaveGroupDimension &rGroupDim)
 
void RemoveGroupDimension (const OUString &rGroupDimName)
 
void AddNumGroupDimension (const ScDPSaveNumGroupDimension &rGroupDim)
 
void ReplaceNumGroupDimension (const ScDPSaveNumGroupDimension &rGroupDim)
 
void RemoveNumGroupDimension (const OUString &rGroupDimName)
 
const ScDPSaveGroupDimensionGetGroupDimForBase (const OUString &rBaseDimName) const
 
const ScDPSaveGroupDimensionGetNamedGroupDim (const OUString &rGroupDimName) const
 
const ScDPSaveGroupDimensionGetFirstNamedGroupDim (const OUString &rBaseDimName) const
 
const ScDPSaveGroupDimensionGetNextNamedGroupDim (const OUString &rGroupDimName) const
 
const ScDPSaveNumGroupDimensionGetNumGroupDim (const OUString &rGroupDimName) const
 
ScDPSaveGroupDimensionGetGroupDimAccForBase (const OUString &rBaseDimName)
 
ScDPSaveGroupDimensionGetNamedGroupDimAcc (const OUString &rGroupDimName)
 
ScDPSaveGroupDimensionGetFirstNamedGroupDimAcc (const OUString &rBaseDimName)
 
ScDPSaveGroupDimensionGetNextNamedGroupDimAcc (const OUString &rGroupDimName)
 
ScDPSaveNumGroupDimensionGetNumGroupDimAcc (const OUString &rGroupDimName)
 
bool HasGroupDimensions () const
 
sal_Int32 CollectDateParts (const OUString &rBaseDimName) const
 

Private Types

typedef ::std::vector< ScDPSaveGroupDimensionScDPSaveGroupDimVec
 
typedef ::std::map< OUString, ScDPSaveNumGroupDimensionScDPSaveNumGroupDimMap
 

Private Member Functions

ScDPDimensionSaveDataoperator= (const ScDPDimensionSaveData &)=delete
 

Private Attributes

ScDPSaveGroupDimVec maGroupDims
 
ScDPSaveNumGroupDimMap maNumGroupDims
 

Detailed Description

This class has to do with handling exclusively grouped dimensions? TODO: Find out what this class does and document it here.

Definition at line 163 of file dpdimsave.hxx.

Member Typedef Documentation

◆ ScDPSaveGroupDimVec

Definition at line 209 of file dpdimsave.hxx.

◆ ScDPSaveNumGroupDimMap

Definition at line 210 of file dpdimsave.hxx.

Constructor & Destructor Documentation

◆ ScDPDimensionSaveData() [1/2]

ScDPDimensionSaveData::ScDPDimensionSaveData ( )

Definition at line 554 of file dpdimsave.cxx.

◆ ScDPDimensionSaveData() [2/2]

ScDPDimensionSaveData::ScDPDimensionSaveData ( ScDPDimensionSaveData const &  )
default

Member Function Documentation

◆ AddGroupDimension()

void ScDPDimensionSaveData::AddGroupDimension ( const ScDPSaveGroupDimension rGroupDim)

◆ AddNumGroupDimension()

void ScDPDimensionSaveData::AddNumGroupDimension ( const ScDPSaveNumGroupDimension rGroupDim)

◆ CollectDateParts()

sal_Int32 ScDPDimensionSaveData::CollectDateParts ( const OUString &  rBaseDimName) const

◆ CreateDateGroupDimName()

OUString ScDPDimensionSaveData::CreateDateGroupDimName ( sal_Int32  nDatePart,
const ScDPObject rObject,
bool  bAllowSource,
const ::std::vector< OUString > *  pDeletedNames 
)

◆ CreateGroupDimName()

OUString ScDPDimensionSaveData::CreateGroupDimName ( const OUString &  rSourceName,
const ScDPObject rObject,
bool  bAllowSource,
const ::std::vector< OUString > *  pDeletedNames 
)

◆ GetFirstNamedGroupDim()

const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetFirstNamedGroupDim ( const OUString &  rBaseDimName) const

Definition at line 641 of file dpdimsave.cxx.

References GetFirstNamedGroupDimAcc().

Referenced by CollectDateParts(), and ScDataPilotFieldObj::createDateGroup().

◆ GetFirstNamedGroupDimAcc()

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetFirstNamedGroupDimAcc ( const OUString &  rBaseDimName)

Definition at line 669 of file dpdimsave.cxx.

References maGroupDims.

Referenced by GetFirstNamedGroupDim(), and GetGroupDimAccForBase().

◆ GetGroupDimAccForBase()

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimAccForBase ( const OUString &  rBaseDimName)

◆ GetGroupDimForBase()

const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetGroupDimForBase ( const OUString &  rBaseDimName) const

Definition at line 631 of file dpdimsave.cxx.

References GetGroupDimAccForBase().

Referenced by XclExpPivotCache::AddGroupFields().

◆ GetNamedGroupDim()

const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDim ( const OUString &  rGroupDimName) const

◆ GetNamedGroupDimAcc()

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNamedGroupDimAcc ( const OUString &  rGroupDimName)

Definition at line 662 of file dpdimsave.cxx.

References maGroupDims.

Referenced by ScDBFunc::DataPilotInput(), GetNamedGroupDim(), and ScDBFunc::UngroupDataPilot().

◆ GetNextNamedGroupDim()

const ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNextNamedGroupDim ( const OUString &  rGroupDimName) const

Definition at line 646 of file dpdimsave.cxx.

References GetNextNamedGroupDimAcc().

Referenced by CollectDateParts(), and ScDataPilotFieldObj::createDateGroup().

◆ GetNextNamedGroupDimAcc()

ScDPSaveGroupDimension * ScDPDimensionSaveData::GetNextNamedGroupDimAcc ( const OUString &  rGroupDimName)

Definition at line 676 of file dpdimsave.cxx.

References maGroupDims.

Referenced by GetGroupDimAccForBase(), and GetNextNamedGroupDim().

◆ GetNumGroupDim()

const ScDPSaveNumGroupDimension * ScDPDimensionSaveData::GetNumGroupDim ( const OUString &  rGroupDimName) const

◆ GetNumGroupDimAcc()

ScDPSaveNumGroupDimension * ScDPDimensionSaveData::GetNumGroupDimAcc ( const OUString &  rGroupDimName)

◆ HasGroupDimensions()

bool ScDPDimensionSaveData::HasGroupDimensions ( ) const

◆ operator=()

ScDPDimensionSaveData & ScDPDimensionSaveData::operator= ( const ScDPDimensionSaveData )
privatedelete

◆ operator==()

bool ScDPDimensionSaveData::operator== ( const ScDPDimensionSaveData r) const

Definition at line 558 of file dpdimsave.cxx.

◆ RemoveGroupDimension()

void ScDPDimensionSaveData::RemoveGroupDimension ( const OUString &  rGroupDimName)

Definition at line 581 of file dpdimsave.cxx.

References maGroupDims.

Referenced by ScDataPilotFieldObj::createDateGroup(), and ScDBFunc::UngroupDataPilot().

◆ RemoveNumGroupDimension()

void ScDPDimensionSaveData::RemoveNumGroupDimension ( const OUString &  rGroupDimName)

Definition at line 606 of file dpdimsave.cxx.

References maNumGroupDims.

Referenced by ScDBFunc::UngroupDataPilot().

◆ ReplaceGroupDimension()

void ScDPDimensionSaveData::ReplaceGroupDimension ( const ScDPSaveGroupDimension rGroupDim)

◆ ReplaceNumGroupDimension()

void ScDPDimensionSaveData::ReplaceNumGroupDimension ( const ScDPSaveNumGroupDimension rGroupDim)

◆ WriteToCache()

void ScDPDimensionSaveData::WriteToCache ( ScDPCache rCache) const

◆ WriteToData()

void ScDPDimensionSaveData::WriteToData ( ScDPGroupTableData rData) const

Definition at line 611 of file dpdimsave.cxx.

References maGroupDims, and maNumGroupDims.

Referenced by ScDPObject::GetTableData(), and ScDPObject::ReloadGroupTableData().

Member Data Documentation

◆ maGroupDims

ScDPSaveGroupDimVec ScDPDimensionSaveData::maGroupDims
private

◆ maNumGroupDims

ScDPSaveNumGroupDimMap ScDPDimensionSaveData::maNumGroupDims
private

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