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, const ScFieldIdentifier &rFieldId)
 
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 303 of file dapiuno.hxx.

Constructor & Destructor Documentation

ScDataPilotChildObjBase::ScDataPilotChildObjBase ( ScDataPilotDescriptorBase rParent)
explicitprotected

Definition at line 1330 of file dapiuno.cxx.

References mxParent.

ScDataPilotChildObjBase::ScDataPilotChildObjBase ( ScDataPilotDescriptorBase rParent,
const ScFieldIdentifier rFieldId 
)
explicitprotected

Definition at line 1335 of file dapiuno.cxx.

References mxParent.

ScDataPilotChildObjBase::~ScDataPilotChildObjBase ( )
protectedvirtual

Definition at line 1341 of file dapiuno.cxx.

Member Function Documentation

ScDocShell * ScDataPilotChildObjBase::GetDocShell ( ) const
protected

Definition at line 1410 of file dapiuno.cxx.

References mxParent.

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

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

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

Definition at line 1390 of file dapiuno.cxx.

References GetMembers().

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

Reference< XMembersAccess > ScDataPilotChildObjBase::GetMembers ( ) const
protected
ScDataPilotChildObjBase& ScDataPilotChildObjBase::operator= ( const ScDataPilotChildObjBase )
privatedelete
void ScDataPilotChildObjBase::SetDPObject ( ScDPObject pDPObject)
protected

Member Data Documentation

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

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