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

Base class of all implementation objects based on a DataPilot descriptor or DataPilot table object. More...

#include <dapiuno.hxx>

Inheritance diagram for ScDataPilotChildObjBase:
[legend]
Collaboration diagram for ScDataPilotChildObjBase:
[legend]

Protected Member Functions

 ScDataPilotChildObjBase (ScDataPilotDescriptorBase &rParent)
 
 ScDataPilotChildObjBase (ScDataPilotDescriptorBase &rParent, ScFieldIdentifier aFieldId)
 
virtual ~ScDataPilotChildObjBase ()
 
ScDPObjectGetDPObject () const
 Returns the wrapped DataPilot object (calls GetDPObject() at parent). More...
 
void SetDPObject (ScDPObject *pDPObject)
 Sets the passed DataPilot object (calls SetDPObject() at parent). More...
 
ScDPSaveDimensionGetDPDimension (ScDPObject **ppDPObject=nullptr) const
 Returns the DataPilot dimension object related to the field described by maFieldId. More...
 
sal_Int32 GetMemberCount () const
 Returns the number of members for the field described by maFieldId. More...
 
css::uno::Reference< css::sheet::XMembersAccess > GetMembers () const
 Returns the collection of members for the field described by maFieldId. More...
 
ScDocShellGetDocShell () const
 

Protected Attributes

rtl::Reference< ScDataPilotDescriptorBasemxParent
 
ScFieldIdentifier maFieldId
 

Private Member Functions

ScDataPilotChildObjBaseoperator= (const ScDataPilotChildObjBase &)=delete
 

Detailed Description

Base class of all implementation objects based on a DataPilot descriptor or DataPilot table object.

Wraps acquiring and releasing the parent.

Definition at line 294 of file dapiuno.hxx.

Constructor & Destructor Documentation

◆ ScDataPilotChildObjBase() [1/2]

ScDataPilotChildObjBase::ScDataPilotChildObjBase ( ScDataPilotDescriptorBase rParent)
explicitprotected

Definition at line 1305 of file dapiuno.cxx.

References mxParent.

◆ ScDataPilotChildObjBase() [2/2]

ScDataPilotChildObjBase::ScDataPilotChildObjBase ( ScDataPilotDescriptorBase rParent,
ScFieldIdentifier  aFieldId 
)
explicitprotected

Definition at line 1310 of file dapiuno.cxx.

References mxParent.

◆ ~ScDataPilotChildObjBase()

ScDataPilotChildObjBase::~ScDataPilotChildObjBase ( )
protectedvirtual

Definition at line 1316 of file dapiuno.cxx.

Member Function Documentation

◆ GetDocShell()

ScDocShell * ScDataPilotChildObjBase::GetDocShell ( ) const
protected

Definition at line 1385 of file dapiuno.cxx.

References mxParent.

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

◆ GetDPDimension()

ScDPSaveDimension * ScDataPilotChildObjBase::GetDPDimension ( ScDPObject **  ppDPObject = nullptr) const
protected

◆ GetDPObject()

ScDPObject * ScDataPilotChildObjBase::GetDPObject ( ) const
protected

◆ GetMemberCount()

sal_Int32 ScDataPilotChildObjBase::GetMemberCount ( ) const
protected

Returns the number of members for the field described by maFieldId.

Definition at line 1365 of file dapiuno.cxx.

References GetMembers().

Referenced by ScDataPilotItemsObj::getCount(), and ScDataPilotItemsObj::GetObjectByIndex_Impl().

◆ GetMembers()

Reference< XMembersAccess > ScDataPilotChildObjBase::GetMembers ( ) const
protected

◆ operator=()

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

◆ SetDPObject()

void ScDataPilotChildObjBase::SetDPObject ( ScDPObject pDPObject)
protected

Member Data Documentation

◆ maFieldId

ScFieldIdentifier ScDataPilotChildObjBase::maFieldId
protected

◆ mxParent

rtl::Reference<ScDataPilotDescriptorBase> ScDataPilotChildObjBase::mxParent
protected

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