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

#include <dptabsrc.hxx>

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

Public Member Functions

 ScDPLevels (ScDPSource *pSrc, sal_Int32 nDim, sal_Int32 nHier)
 
virtual ~ScDPLevels () override
 
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
 
sal_Int32 getCount () const
 
ScDPLevelgetByIndex (sal_Int32 nIndex) const
 

Private Attributes

ScDPSourcepSource
 
sal_Int32 nDim
 
sal_Int32 nHier
 
sal_Int32 nLevCount
 
std::unique_ptr< rtl::Reference< ScDPLevel >[]> ppLevs
 

Detailed Description

Definition at line 408 of file dptabsrc.hxx.

Constructor & Destructor Documentation

◆ ScDPLevels()

ScDPLevels::ScDPLevels ( ScDPSource pSrc,
sal_Int32  nDim,
sal_Int32  nHier 
)

◆ ~ScDPLevels()

ScDPLevels::~ScDPLevels ( )
overridevirtual

Definition at line 1765 of file dptabsrc.cxx.

Member Function Documentation

◆ getByIndex()

ScDPLevel * ScDPLevels::getByIndex ( sal_Int32  nIndex) const

◆ getByName()

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

Definition at line 1772 of file dptabsrc.cxx.

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

◆ getCount()

sal_Int32 ScDPLevels::getCount ( ) const

◆ getElementNames()

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

Definition at line 1787 of file dptabsrc.cxx.

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

◆ getElementType()

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

Definition at line 1806 of file dptabsrc.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScDPLevels::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ hasByName()

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

Definition at line 1797 of file dptabsrc.cxx.

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

◆ hasElements()

sal_Bool SAL_CALL ScDPLevels::hasElements ( )
overridevirtual

Definition at line 1811 of file dptabsrc.cxx.

References getCount().

◆ supportsService()

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

Member Data Documentation

◆ nDim

sal_Int32 ScDPLevels::nDim
private

Definition at line 414 of file dptabsrc.hxx.

Referenced by getByIndex(), and ScDPLevels().

◆ nHier

sal_Int32 ScDPLevels::nHier
private

Definition at line 415 of file dptabsrc.hxx.

Referenced by getByIndex(), and ScDPLevels().

◆ nLevCount

sal_Int32 ScDPLevels::nLevCount
private

Definition at line 416 of file dptabsrc.hxx.

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

◆ ppLevs

std::unique_ptr<rtl::Reference<ScDPLevel>[]> ScDPLevels::ppLevs
private

Definition at line 418 of file dptabsrc.hxx.

Referenced by getByIndex().

◆ pSource

ScDPSource* ScDPLevels::pSource
private

Definition at line 413 of file dptabsrc.hxx.

Referenced by getByIndex(), and ScDPLevels().


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