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

#include <dptabsrc.hxx>

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

Public Member Functions

 ScDPMembers (ScDPSource *pSrc, sal_Int32 nDim, sal_Int32 nHier, sal_Int32 nLev)
 
virtual ~ScDPMembers () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getLocaleIndependentElementNames () 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
 
ScDPMembergetByIndex (sal_Int32 nIndex) const
 
sal_Int32 getMinMembers () const
 
sal_Int32 GetIndexFromName (const OUString &rName) const
 
const ScDPItemDataGetSrcItemDataByIndex (SCROW nIndex)
 

Private Types

typedef std::vector< rtl::Reference< ScDPMember > > MembersType
 

Private Member Functions

css::uno::Sequence< OUString > getElementNames (bool bLocaleIndependent) const
 

Private Attributes

ScDPSourcepSource
 
sal_Int32 nDim
 
sal_Int32 nHier
 
sal_Int32 nLev
 
sal_Int32 nMbrCount
 
MembersType maMembers
 
ScDPMembersHashMap aHashMap
 

Detailed Description

Definition at line 548 of file dptabsrc.hxx.

Member Typedef Documentation

◆ MembersType

typedef std::vector<rtl::Reference<ScDPMember> > ScDPMembers::MembersType
private

Definition at line 553 of file dptabsrc.hxx.

Constructor & Destructor Documentation

◆ ScDPMembers()

ScDPMembers::ScDPMembers ( ScDPSource pSrc,
sal_Int32  nDim,
sal_Int32  nHier,
sal_Int32  nLev 
)

◆ ~ScDPMembers()

ScDPMembers::~ScDPMembers ( )
overridevirtual

Definition at line 2232 of file dptabsrc.cxx.

Member Function Documentation

◆ getByIndex()

ScDPMember * ScDPMembers::getByIndex ( sal_Int32  nIndex) const

◆ getByName()

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

Definition at line 2256 of file dptabsrc.cxx.

References aName, getByIndex(), GetIndexFromName(), and nIndex.

◆ getCount()

sal_Int32 ScDPMembers::getCount ( ) const
inline

◆ getElementNames() [1/2]

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

Definition at line 2270 of file dptabsrc.cxx.

References getElementNames().

Referenced by getElementNames(), and getLocaleIndependentElementNames().

◆ getElementNames() [2/2]

uno::Sequence< OUString > ScDPMembers::getElementNames ( bool  bLocaleIndependent) const
private

◆ getElementType()

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

Definition at line 2280 of file dptabsrc.cxx.

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

◆ getImplementationName()

virtual OUString SAL_CALL ScDPMembers::getImplementationName ( )
overridevirtual

◆ GetIndexFromName()

sal_Int32 ScDPMembers::GetIndexFromName ( const OUString &  rName) const

◆ getLocaleIndependentElementNames()

uno::Sequence< OUString > SAL_CALL ScDPMembers::getLocaleIndependentElementNames ( )
overridevirtual

Definition at line 2294 of file dptabsrc.cxx.

References getElementNames().

◆ getMinMembers()

sal_Int32 ScDPMembers::getMinMembers ( ) const

Definition at line 2321 of file dptabsrc.cxx.

References maMembers, and nMbrCount.

◆ GetSrcItemDataByIndex()

const ScDPItemData * ScDPMembers::GetSrcItemDataByIndex ( SCROW  nIndex)

◆ getSupportedServiceNames()

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

◆ hasByName()

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

Definition at line 2275 of file dptabsrc.cxx.

References aName, and GetIndexFromName().

◆ hasElements()

sal_Bool SAL_CALL ScDPMembers::hasElements ( )
overridevirtual

Definition at line 2285 of file dptabsrc.cxx.

References getCount().

◆ supportsService()

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

Member Data Documentation

◆ aHashMap

ScDPMembersHashMap ScDPMembers::aHashMap
mutableprivate

Definition at line 560 of file dptabsrc.hxx.

Referenced by GetIndexFromName().

◆ maMembers

MembersType ScDPMembers::maMembers
mutableprivate

Definition at line 559 of file dptabsrc.hxx.

Referenced by getByIndex(), and getMinMembers().

◆ nDim

sal_Int32 ScDPMembers::nDim
private

Definition at line 555 of file dptabsrc.hxx.

Referenced by getByIndex(), getElementNames(), and GetSrcItemDataByIndex().

◆ nHier

sal_Int32 ScDPMembers::nHier
private

Definition at line 556 of file dptabsrc.hxx.

Referenced by getByIndex(), and getElementNames().

◆ nLev

sal_Int32 ScDPMembers::nLev
private

Definition at line 557 of file dptabsrc.hxx.

Referenced by getByIndex(), and getElementNames().

◆ nMbrCount

sal_Int32 ScDPMembers::nMbrCount
private

Definition at line 558 of file dptabsrc.hxx.

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

◆ pSource

ScDPSource* ScDPMembers::pSource
private

Definition at line 554 of file dptabsrc.hxx.

Referenced by getByIndex(), getElementNames(), and GetSrcItemDataByIndex().


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