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

#include <dptabsrc.hxx>

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

Public Member Functions

 ScDPDimensions (ScDPSource *pSrc)
 
virtual ~ScDPDimensions () override
 
void CountChanged ()
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
tools::Long getCount () const
 
ScDPDimensiongetByIndex (tools::Long nIndex) const
 

Private Attributes

ScDPSourcepSource
 
sal_Int32 nDimCount
 
std::unique_ptr< rtl::Reference< ScDPDimension >[]> ppDims
 

Detailed Description

Definition at line 224 of file dptabsrc.hxx.

Constructor & Destructor Documentation

◆ ScDPDimensions()

ScDPDimensions::ScDPDimensions ( ScDPSource pSrc)

◆ ~ScDPDimensions()

ScDPDimensions::~ScDPDimensions ( )
overridevirtual

Definition at line 1161 of file dptabsrc.cxx.

Member Function Documentation

◆ CountChanged()

void ScDPDimensions::CountChanged ( )

◆ getByIndex()

ScDPDimension * ScDPDimensions::getByIndex ( tools::Long  nIndex) const

◆ getByName()

uno::Any SAL_CALL ScDPDimensions::getByName ( const OUString &  aName)
overridevirtual

Definition at line 1188 of file dptabsrc.cxx.

References aName, getByIndex(), getCount(), i, and nCount.

◆ getCount()

tools::Long ScDPDimensions::getCount ( ) const

Definition at line 1235 of file dptabsrc.cxx.

References nDimCount.

Referenced by getByName(), getElementNames(), hasByName(), and hasElements().

◆ getElementNames()

uno::Sequence< OUString > SAL_CALL ScDPDimensions::getElementNames ( )
overridevirtual

Definition at line 1204 of file dptabsrc.cxx.

References aSeq, getByIndex(), getCount(), ScDPDimension::getName(), i, and nCount.

◆ getElementType()

uno::Type SAL_CALL ScDPDimensions::getElementType ( )
overridevirtual

Definition at line 1223 of file dptabsrc.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

virtual OUString SAL_CALL ScDPDimensions::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScDPDimensions::getSupportedServiceNames ( )
overridevirtual

◆ hasByName()

sal_Bool SAL_CALL ScDPDimensions::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 1214 of file dptabsrc.cxx.

References aName, getByIndex(), getCount(), i, and nCount.

◆ hasElements()

sal_Bool SAL_CALL ScDPDimensions::hasElements ( )
overridevirtual

Definition at line 1228 of file dptabsrc.cxx.

References getCount().

◆ supportsService()

virtual sal_Bool SAL_CALL ScDPDimensions::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ nDimCount

sal_Int32 ScDPDimensions::nDimCount
private

Definition at line 230 of file dptabsrc.hxx.

Referenced by CountChanged(), getByIndex(), and getCount().

◆ ppDims

std::unique_ptr<rtl::Reference<ScDPDimension>[]> ScDPDimensions::ppDims
private

Definition at line 232 of file dptabsrc.hxx.

Referenced by CountChanged(), and getByIndex().

◆ pSource

ScDPSource* ScDPDimensions::pSource
private

Definition at line 229 of file dptabsrc.hxx.

Referenced by CountChanged(), and getByIndex().


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