LibreOffice Module ucb (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
hcp_impl::HierarchyDataAccess Class Reference
Inheritance diagram for hcp_impl::HierarchyDataAccess:
[legend]
Collaboration diagram for hcp_impl::HierarchyDataAccess:
[legend]

Public Member Functions

 HierarchyDataAccess (const uno::Reference< uno::XInterface > &xConfigAccess, bool bReadOnly)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const uno::Reference< lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const uno::Reference< lang::XEventListener > &aListener) override
 
virtual uno::Reference< uno::XInterface > SAL_CALL createInstance () override
 
virtual uno::Reference< uno::XInterface > SAL_CALL createInstanceWithArguments (const uno::Sequence< uno::Any > &aArguments) override
 
virtual uno::Any SAL_CALL getByHierarchicalName (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hasByHierarchicalName (const OUString &aName) override
 
virtual void SAL_CALL insertByName (const OUString &aName, const uno::Any &aElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual void SAL_CALL replaceByName (const OUString &aName, const uno::Any &aElement) override
 
virtual uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual void SAL_CALL addChangesListener (const uno::Reference< util::XChangesListener > &aListener) override
 
virtual void SAL_CALL removeChangesListener (const uno::Reference< util::XChangesListener > &aListener) override
 
virtual void SAL_CALL commitChanges () override
 
virtual sal_Bool SAL_CALL hasPendingChanges () override
 
virtual uno::Sequence< util::ElementChange > SAL_CALL getPendingChanges () override
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

Private Member Functions

template<class T >
css::uno::Reference< T > ensureOrigInterface (css::uno::Reference< T > &x)
 

Private Attributes

osl::Mutex m_aMutex
 
uno::Reference< uno::XInterface > m_xConfigAccess
 
uno::Reference< lang::XComponent > m_xCfgC
 
uno::Reference< lang::XSingleServiceFactory > m_xCfgSSF
 
uno::Reference< container::XHierarchicalNameAccess > m_xCfgHNA
 
uno::Reference< container::XNameContainer > m_xCfgNC
 
uno::Reference< container::XNameReplace > m_xCfgNR
 
uno::Reference< container::XNameAccess > m_xCfgNA
 
uno::Reference< container::XElementAccess > m_xCfgEA
 
uno::Reference< util::XChangesNotifier > m_xCfgCN
 
uno::Reference< util::XChangesBatch > m_xCfgCB
 
bool const m_bReadOnly
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 65 of file hierarchydatasource.cxx.

Constructor & Destructor Documentation

HierarchyDataAccess::HierarchyDataAccess ( const uno::Reference< uno::XInterface > &  xConfigAccess,
bool  bReadOnly 
)

Definition at line 485 of file hierarchydatasource.cxx.

Member Function Documentation

void SAL_CALL HierarchyDataAccess::acquire ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 494 of file hierarchydatasource.cxx.

void SAL_CALL HierarchyDataAccess::addChangesListener ( const uno::Reference< util::XChangesListener > &  aListener)
overridevirtual

Definition at line 731 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::addEventListener ( const uno::Reference< lang::XEventListener > &  xListener)
overridevirtual

Definition at line 605 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::commitChanges ( )
overridevirtual

Definition at line 835 of file hierarchydatasource.cxx.

References ensureOrigInterface().

uno::Reference< uno::XInterface > SAL_CALL HierarchyDataAccess::createInstance ( )
overridevirtual

Definition at line 760 of file hierarchydatasource.cxx.

References ensureOrigInterface().

uno::Reference< uno::XInterface > SAL_CALL HierarchyDataAccess::createInstanceWithArguments ( const uno::Sequence< uno::Any > &  aArguments)
overridevirtual

Definition at line 773 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::dispose ( void  )
overridevirtual

Definition at line 593 of file hierarchydatasource.cxx.

References ensureOrigInterface().

template<class T >
css::uno::Reference< T > HierarchyDataAccess::ensureOrigInterface ( css::uno::Reference< T > &  x)
private
uno::Any SAL_CALL HierarchyDataAccess::getByHierarchicalName ( const OUString &  aName)
overridevirtual

Definition at line 634 of file hierarchydatasource.cxx.

References ensureOrigInterface().

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

Definition at line 665 of file hierarchydatasource.cxx.

References ensureOrigInterface().

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

Definition at line 677 of file hierarchydatasource.cxx.

References ensureOrigInterface().

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

Definition at line 704 of file hierarchydatasource.cxx.

References ensureOrigInterface().

virtual css::uno::Sequence< sal_Int8 > SAL_CALL hcp_impl::HierarchyDataAccess::getImplementationId ( )
overridevirtual
OUString SAL_CALL HierarchyDataAccess::getImplementationName ( )
overridevirtual

Definition at line 573 of file hierarchydatasource.cxx.

uno::Sequence< util::ElementChange > SAL_CALL HierarchyDataAccess::getPendingChanges ( )
overridevirtual

Definition at line 860 of file hierarchydatasource.cxx.

References ensureOrigInterface().

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

Definition at line 583 of file hierarchydatasource.cxx.

References READ_SERVICE_NAME, and READWRITE_SERVICE_NAME.

uno::Sequence< uno::Type > SAL_CALL HierarchyDataAccess::getTypes ( )
overridevirtual

Definition at line 540 of file hierarchydatasource.cxx.

References CPPU_TYPE_REF, and cppu::OTypeCollection::getTypes().

sal_Bool SAL_CALL HierarchyDataAccess::hasByHierarchicalName ( const OUString &  aName)
overridevirtual

Definition at line 648 of file hierarchydatasource.cxx.

References ensureOrigInterface().

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

Definition at line 689 of file hierarchydatasource.cxx.

References ensureOrigInterface().

sal_Bool SAL_CALL HierarchyDataAccess::hasElements ( )
overridevirtual

Definition at line 716 of file hierarchydatasource.cxx.

References ensureOrigInterface().

sal_Bool SAL_CALL HierarchyDataAccess::hasPendingChanges ( )
overridevirtual

Definition at line 847 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::insertByName ( const OUString &  aName,
const uno::Any aElement 
)
overridevirtual

Definition at line 790 of file hierarchydatasource.cxx.

References ensureOrigInterface().

uno::Any SAL_CALL HierarchyDataAccess::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 507 of file hierarchydatasource.cxx.

References uno::Any::hasValue(), m_bReadOnly, and cppu::queryInterface().

void SAL_CALL HierarchyDataAccess::release ( )
throw (
)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 500 of file hierarchydatasource.cxx.

void SAL_CALL HierarchyDataAccess::removeByName ( const OUString &  Name)
overridevirtual

Definition at line 804 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::removeChangesListener ( const uno::Reference< util::XChangesListener > &  aListener)
overridevirtual

Definition at line 744 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::removeEventListener ( const uno::Reference< lang::XEventListener > &  aListener)
overridevirtual

Definition at line 618 of file hierarchydatasource.cxx.

References ensureOrigInterface().

void SAL_CALL HierarchyDataAccess::replaceByName ( const OUString &  aName,
const uno::Any aElement 
)
overridevirtual

Definition at line 819 of file hierarchydatasource.cxx.

References ensureOrigInterface().

sal_Bool SAL_CALL HierarchyDataAccess::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 578 of file hierarchydatasource.cxx.

References cppu::supportsService().

Member Data Documentation

osl::Mutex hcp_impl::HierarchyDataAccess::m_aMutex
private

Definition at line 75 of file hierarchydatasource.cxx.

bool const hcp_impl::HierarchyDataAccess::m_bReadOnly
private

Definition at line 86 of file hierarchydatasource.cxx.

Referenced by queryInterface().

uno::Reference< lang::XComponent > hcp_impl::HierarchyDataAccess::m_xCfgC
private

Definition at line 77 of file hierarchydatasource.cxx.

uno::Reference< util::XChangesBatch > hcp_impl::HierarchyDataAccess::m_xCfgCB
private

Definition at line 85 of file hierarchydatasource.cxx.

uno::Reference< util::XChangesNotifier > hcp_impl::HierarchyDataAccess::m_xCfgCN
private

Definition at line 84 of file hierarchydatasource.cxx.

uno::Reference< container::XElementAccess > hcp_impl::HierarchyDataAccess::m_xCfgEA
private

Definition at line 83 of file hierarchydatasource.cxx.

uno::Reference< container::XHierarchicalNameAccess > hcp_impl::HierarchyDataAccess::m_xCfgHNA
private

Definition at line 79 of file hierarchydatasource.cxx.

uno::Reference< container::XNameAccess > hcp_impl::HierarchyDataAccess::m_xCfgNA
private

Definition at line 82 of file hierarchydatasource.cxx.

uno::Reference< container::XNameContainer > hcp_impl::HierarchyDataAccess::m_xCfgNC
private

Definition at line 80 of file hierarchydatasource.cxx.

uno::Reference< container::XNameReplace > hcp_impl::HierarchyDataAccess::m_xCfgNR
private

Definition at line 81 of file hierarchydatasource.cxx.

uno::Reference< lang::XSingleServiceFactory > hcp_impl::HierarchyDataAccess::m_xCfgSSF
private

Definition at line 78 of file hierarchydatasource.cxx.

uno::Reference< uno::XInterface > hcp_impl::HierarchyDataAccess::m_xConfigAccess
private

Definition at line 76 of file hierarchydatasource.cxx.


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