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, long nD, long nH, long nL)
 
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
 
long getCount () const
 
ScDPMembergetByIndex (long nIndex) const
 
long 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
 
long nDim
 
long nHier
 
long nLev
 
long 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,
long  nD,
long  nH,
long  nL 
)
ScDPMembers::~ScDPMembers ( )
overridevirtual

Definition at line 2245 of file dptabsrc.cxx.

Member Function Documentation

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

Definition at line 2269 of file dptabsrc.cxx.

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

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

Definition at line 2283 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 2293 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 2307 of file dptabsrc.cxx.

References getElementNames().

long ScDPMembers::getMinMembers ( ) const

Definition at line 2334 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 2288 of file dptabsrc.cxx.

References GetIndexFromName().

sal_Bool SAL_CALL ScDPMembers::hasElements ( )
overridevirtual

Definition at line 2298 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().

long ScDPMembers::nDim
private

Definition at line 554 of file dptabsrc.hxx.

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

long ScDPMembers::nHier
private

Definition at line 555 of file dptabsrc.hxx.

Referenced by getByIndex(), and getElementNames().

long ScDPMembers::nLev
private

Definition at line 556 of file dptabsrc.hxx.

Referenced by getByIndex(), and getElementNames().

long 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: