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

#include <dpgroup.hxx>

Public Member Functions

 ScDPGroupDimension (tools::Long nSource, OUString aNewName)
 ScDPGroupDimension (const ScDPGroupDimension &rOther)
 ~ScDPGroupDimension ()
ScDPGroupDimensionoperator= (const ScDPGroupDimension &rOther)
void AddItem (const ScDPGroupItem &rItem)
void SetGroupDim (tools::Long nDim)
tools::Long GetSourceDim () const
tools::Long GetGroupDim () const
const OUString & GetName () const
const std::vector< SCROW > & GetColumnEntries (const ScDPFilteredCache &rCacheTable) const
const ScDPGroupItemGetGroupForData (const ScDPItemData &rData) const
const ScDPGroupItemGetGroupForName (const ScDPItemData &rName) const
const ScDPGroupItemGetGroupByIndex (size_t nIndex) const
void DisposeData ()
size_t GetItemCount () const
void SetDateDimension ()
bool IsDateDimension () const

Private Attributes

tools::Long nSourceDim
tools::Long nGroupDim
OUString aGroupName
std::vector< ScDPGroupItemaItems
std::vector< SCROWmaMemberEntries
bool mbDateDimension

Detailed Description

Definition at line 52 of file dpgroup.hxx.

Constructor & Destructor Documentation

◆ ScDPGroupDimension() [1/2]

ScDPGroupDimension::ScDPGroupDimension ( tools::Long  nSource,
OUString  aNewName 

Definition at line 334 of file dpgroup.cxx.

◆ ScDPGroupDimension() [2/2]

ScDPGroupDimension::ScDPGroupDimension ( const ScDPGroupDimension rOther)

Definition at line 347 of file dpgroup.cxx.

◆ ~ScDPGroupDimension()

ScDPGroupDimension::~ScDPGroupDimension ( )

Definition at line 342 of file dpgroup.cxx.

References maMemberEntries.

Member Function Documentation

◆ AddItem()

void ScDPGroupDimension::AddItem ( const ScDPGroupItem rItem)

Definition at line 366 of file dpgroup.cxx.

References aItems.

Referenced by ScDPSaveGroupItem::AddToData().

◆ DisposeData()

void ScDPGroupDimension::DisposeData ( )

Definition at line 414 of file dpgroup.cxx.

References maMemberEntries.

◆ GetColumnEntries()

const std::vector< SCROW > & ScDPGroupDimension::GetColumnEntries ( const ScDPFilteredCache rCacheTable) const

◆ GetGroupByIndex()

const ScDPGroupItem * ScDPGroupDimension::GetGroupByIndex ( size_t  nIndex) const

Definition at line 406 of file dpgroup.cxx.

References aItems, and nIndex.

Referenced by ScDPGroupTableData::ModifyFilterCriteria().

◆ GetGroupDim()

tools::Long ScDPGroupDimension::GetGroupDim ( ) const

◆ GetGroupForData()

const ScDPGroupItem * ScDPGroupDimension::GetGroupForData ( const ScDPItemData rData) const

Definition at line 386 of file dpgroup.cxx.

References aItems.

Referenced by ScDPGroupTableData::FillGroupValues(), and ScDPGroupTableData::IsInGroup().

◆ GetGroupForName()

const ScDPGroupItem * ScDPGroupDimension::GetGroupForName ( const ScDPItemData rName) const

Definition at line 396 of file dpgroup.cxx.

References aItems.

Referenced by ScDPGroupTableData::HasCommonElement().

◆ GetItemCount()

size_t ScDPGroupDimension::GetItemCount ( ) const

Definition at line 81 of file dpgroup.hxx.

References aItems.

Referenced by ScDPGroupTableData::ModifyFilterCriteria().

◆ GetName()

const OUString & ScDPGroupDimension::GetName ( ) const

Definition at line 72 of file dpgroup.hxx.

References aGroupName.

◆ GetSourceDim()

tools::Long ScDPGroupDimension::GetSourceDim ( ) const

◆ IsDateDimension()

bool ScDPGroupDimension::IsDateDimension ( ) const

◆ operator=()

ScDPGroupDimension & ScDPGroupDimension::operator= ( const ScDPGroupDimension rOther)

Definition at line 356 of file dpgroup.cxx.

References aGroupName, aItems, mbDateDimension, nGroupDim, and nSourceDim.

◆ SetDateDimension()

void ScDPGroupDimension::SetDateDimension ( )

Definition at line 419 of file dpgroup.cxx.

References mbDateDimension.

Referenced by ScDPSaveGroupDimension::AddToData().

◆ SetGroupDim()

void ScDPGroupDimension::SetGroupDim ( tools::Long  nDim)

Definition at line 371 of file dpgroup.cxx.

References nGroupDim.

Referenced by ScDPGroupTableData::AddGroupDimension().

Member Data Documentation

◆ aGroupName

OUString ScDPGroupDimension::aGroupName

Definition at line 56 of file dpgroup.hxx.

Referenced by GetName(), and operator=().

◆ aItems

std::vector<ScDPGroupItem> ScDPGroupDimension::aItems

◆ maMemberEntries

std::vector<SCROW> ScDPGroupDimension::maMemberEntries

Definition at line 58 of file dpgroup.hxx.

Referenced by DisposeData(), GetColumnEntries(), and ~ScDPGroupDimension().

◆ mbDateDimension

bool ScDPGroupDimension::mbDateDimension

Definition at line 59 of file dpgroup.hxx.

Referenced by IsDateDimension(), operator=(), and SetDateDimension().

◆ nGroupDim

tools::Long ScDPGroupDimension::nGroupDim

Definition at line 55 of file dpgroup.hxx.

Referenced by GetColumnEntries(), GetGroupDim(), operator=(), and SetGroupDim().

◆ nSourceDim

tools::Long ScDPGroupDimension::nSourceDim

Definition at line 54 of file dpgroup.hxx.

Referenced by GetSourceDim(), and operator=().

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