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

#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 547 of file dptabsrc.hxx.

Member Typedef Documentation

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

Definition at line 552 of file dptabsrc.hxx.

Constructor & Destructor Documentation

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

Definition at line 2248 of file dptabsrc.cxx.

Member Function Documentation

ScDPMember * ScDPMembers::getByIndex ( sal_Int32  nIndex) const
uno::Any SAL_CALL ScDPMembers::getByName ( const OUString &  aName)
overridevirtual

Definition at line 2272 of file dptabsrc.cxx.

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

sal_Int32 ScDPMembers::getCount ( ) const
inline
uno::Sequence< OUString > SAL_CALL ScDPMembers::getElementNames ( )
overridevirtual

Definition at line 2286 of file dptabsrc.cxx.

Referenced by getLocaleIndependentElementNames().

uno::Sequence< OUString > ScDPMembers::getElementNames ( bool  bLocaleIndependent) const
private
uno::Type SAL_CALL ScDPMembers::getElementType ( )
overridevirtual

Definition at line 2296 of file dptabsrc.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL ScDPMembers::getImplementationName ( )
overridevirtual
sal_Int32 ScDPMembers::GetIndexFromName ( const OUString &  rName) const
uno::Sequence< OUString > SAL_CALL ScDPMembers::getLocaleIndependentElementNames ( )
overridevirtual

Definition at line 2310 of file dptabsrc.cxx.

References getElementNames().

sal_Int32 ScDPMembers::getMinMembers ( ) const

Definition at line 2337 of file dptabsrc.cxx.

References maMembers, and nMbrCount.

const ScDPItemData * ScDPMembers::GetSrcItemDataByIndex ( SCROW  nIndex)
virtual css::uno::Sequence< OUString > SAL_CALL ScDPMembers::getSupportedServiceNames ( )
overridevirtual
sal_Bool SAL_CALL ScDPMembers::hasByName ( const OUString &  aName)
overridevirtual

Definition at line 2291 of file dptabsrc.cxx.

References GetIndexFromName().

sal_Bool SAL_CALL ScDPMembers::hasElements ( )
overridevirtual

Definition at line 2301 of file dptabsrc.cxx.

References getCount().

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

Member Data Documentation

ScDPMembersHashMap ScDPMembers::aHashMap
mutableprivate

Definition at line 559 of file dptabsrc.hxx.

Referenced by GetIndexFromName().

MembersType ScDPMembers::maMembers
mutableprivate

Definition at line 558 of file dptabsrc.hxx.

Referenced by getByIndex(), and getMinMembers().

sal_Int32 ScDPMembers::nDim
private

Definition at line 554 of file dptabsrc.hxx.

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

sal_Int32 ScDPMembers::nHier
private

Definition at line 555 of file dptabsrc.hxx.

Referenced by getByIndex(), and getElementNames().

sal_Int32 ScDPMembers::nLev
private

Definition at line 556 of file dptabsrc.hxx.

Referenced by getByIndex(), and getElementNames().

sal_Int32 ScDPMembers::nMbrCount
private

Definition at line 557 of file dptabsrc.hxx.

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

ScDPSource* ScDPMembers::pSource
private

Definition at line 553 of file dptabsrc.hxx.


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