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

#include <dpgroup.hxx>

Public Member Functions

 ScDPGroupDimension (long nSource, const OUString &rNewName)
 
 ScDPGroupDimension (const ScDPGroupDimension &rOther)
 
 ~ScDPGroupDimension ()
 
ScDPGroupDimensionoperator= (const ScDPGroupDimension &rOther)
 
void AddItem (const ScDPGroupItem &rItem)
 
void SetGroupDim (long nDim)
 
long GetSourceDim () const
 
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

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

Detailed Description

Definition at line 53 of file dpgroup.hxx.

Constructor & Destructor Documentation

ScDPGroupDimension::ScDPGroupDimension ( long  nSource,
const OUString &  rNewName 
)

Definition at line 332 of file dpgroup.cxx.

ScDPGroupDimension::ScDPGroupDimension ( const ScDPGroupDimension rOther)

Definition at line 345 of file dpgroup.cxx.

ScDPGroupDimension::~ScDPGroupDimension ( )

Definition at line 340 of file dpgroup.cxx.

References maMemberEntries.

Member Function Documentation

void ScDPGroupDimension::AddItem ( const ScDPGroupItem rItem)

Definition at line 364 of file dpgroup.cxx.

References aItems.

Referenced by ScDPSaveGroupItem::AddToData().

void ScDPGroupDimension::DisposeData ( )

Definition at line 412 of file dpgroup.cxx.

References maMemberEntries.

const std::vector< SCROW > & ScDPGroupDimension::GetColumnEntries ( const ScDPFilteredCache rCacheTable) const
const ScDPGroupItem * ScDPGroupDimension::GetGroupByIndex ( size_t  nIndex) const

Definition at line 404 of file dpgroup.cxx.

References aItems.

Referenced by ScDPGroupTableData::ModifyFilterCriteria().

long ScDPGroupDimension::GetGroupDim ( ) const
inline
const ScDPGroupItem * ScDPGroupDimension::GetGroupForData ( const ScDPItemData rData) const

Definition at line 384 of file dpgroup.cxx.

References aItems.

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

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

Definition at line 394 of file dpgroup.cxx.

References aItems.

Referenced by ScDPGroupTableData::HasCommonElement().

size_t ScDPGroupDimension::GetItemCount ( ) const
inline

Definition at line 82 of file dpgroup.hxx.

Referenced by ScDPGroupTableData::ModifyFilterCriteria().

const OUString& ScDPGroupDimension::GetName ( ) const
inline

Definition at line 73 of file dpgroup.hxx.

References aGroupName.

long ScDPGroupDimension::GetSourceDim ( ) const
inline
bool ScDPGroupDimension::IsDateDimension ( ) const
inline
ScDPGroupDimension & ScDPGroupDimension::operator= ( const ScDPGroupDimension rOther)

Definition at line 354 of file dpgroup.cxx.

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

void ScDPGroupDimension::SetDateDimension ( )

Definition at line 417 of file dpgroup.cxx.

References mbDateDimension.

Referenced by ScDPSaveGroupDimension::AddToData().

void ScDPGroupDimension::SetGroupDim ( long  nDim)

Definition at line 369 of file dpgroup.cxx.

References nGroupDim.

Referenced by ScDPGroupTableData::AddGroupDimension().

Member Data Documentation

OUString ScDPGroupDimension::aGroupName
private

Definition at line 57 of file dpgroup.hxx.

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

std::vector<ScDPGroupItem> ScDPGroupDimension::aItems
private

Definition at line 58 of file dpgroup.hxx.

Referenced by AddItem(), GetGroupByIndex(), GetGroupForData(), GetGroupForName(), and operator=().

std::vector<SCROW> ScDPGroupDimension::maMemberEntries
mutableprivate

Definition at line 59 of file dpgroup.hxx.

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

bool ScDPGroupDimension::mbDateDimension
private

Definition at line 60 of file dpgroup.hxx.

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

long ScDPGroupDimension::nGroupDim
private

Definition at line 56 of file dpgroup.hxx.

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

long ScDPGroupDimension::nSourceDim
private

Definition at line 55 of file dpgroup.hxx.

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


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