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

#include <miscuno.hxx>

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

Public Member Functions

 ScNameToIndexAccess (css::uno::Reference< css::container::XNameAccess > xNameObj)
 
virtual ~ScNameToIndexAccess () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 Index) 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
 

Private Attributes

css::uno::Reference< css::container::XNameAccess > xNameAccess
 
css::uno::Sequence< OUString > aNames
 

Detailed Description

Definition at line 122 of file miscuno.hxx.

Constructor & Destructor Documentation

◆ ScNameToIndexAccess()

ScNameToIndexAccess::ScNameToIndexAccess ( css::uno::Reference< css::container::XNameAccess >  xNameObj)

test for XIndexAccess interface at rNameObj, use that instead!

Definition at line 241 of file miscuno.cxx.

References aNames, and xNameAccess.

◆ ~ScNameToIndexAccess()

ScNameToIndexAccess::~ScNameToIndexAccess ( )
overridevirtual

Definition at line 251 of file miscuno.cxx.

Member Function Documentation

◆ getByIndex()

css::uno::Any SAL_CALL ScNameToIndexAccess::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 262 of file miscuno.cxx.

References aNames, nIndex, and xNameAccess.

◆ getCount()

sal_Int32 SAL_CALL ScNameToIndexAccess::getCount ( )
overridevirtual

Definition at line 257 of file miscuno.cxx.

References aNames.

Referenced by hasElements().

◆ getElementType()

css::uno::Type SAL_CALL ScNameToIndexAccess::getElementType ( )
overridevirtual

Definition at line 272 of file miscuno.cxx.

References xNameAccess.

◆ getImplementationName()

virtual OUString SAL_CALL ScNameToIndexAccess::getImplementationName ( )
overridevirtual

◆ getSupportedServiceNames()

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

◆ hasElements()

sal_Bool SAL_CALL ScNameToIndexAccess::hasElements ( )
overridevirtual

Definition at line 280 of file miscuno.cxx.

References getCount().

◆ supportsService()

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

Member Data Documentation

◆ aNames

css::uno::Sequence<OUString> ScNameToIndexAccess::aNames
private

Definition at line 128 of file miscuno.hxx.

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

◆ xNameAccess

css::uno::Reference<css::container::XNameAccess> ScNameToIndexAccess::xNameAccess
private

Definition at line 127 of file miscuno.hxx.

Referenced by getByIndex(), getElementType(), and ScNameToIndexAccess().


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