LibreOffice Module ucb (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
hierarchy_ucp::HierarchyDataSource Class Reference

#include <hierarchydatasource.hxx>

Inheritance diagram for hierarchy_ucp::HierarchyDataSource:
[legend]
Collaboration diagram for hierarchy_ucp::HierarchyDataSource:
[legend]

Public Member Functions

 HierarchyDataSource (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~HierarchyDataSource () override
 
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 css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance (const OUString &aServiceSpecifier) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames () 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 > ()
 

Static Public Member Functions

static OUString getImplementationName_Static ()
 
static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
static css::uno::Reference< css::lang::XSingleServiceFactory > createServiceFactory (const css::uno::Reference< css::lang::XMultiServiceFactory > &rxServiceMgr)
 

Private Member Functions

css::uno::Reference< css::uno::XInterface > createInstanceWithArguments (const OUString &ServiceSpecifier, const css::uno::Sequence< css::uno::Any > &Arguments, bool bCheckArgs)
 
css::uno::Reference< css::lang::XMultiServiceFactory > getConfigProvider ()
 

Static Private Member Functions

static bool createConfigPath (const OUString &rInPath, OUString &rOutPath)
 

Private Attributes

osl::Mutex m_aMutex
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::lang::XMultiServiceFactory > m_xConfigProvider
 
std::unique_ptr< comphelper::OInterfaceContainerHelper2m_pDisposeEventListeners
 

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 38 of file hierarchydatasource.hxx.

Constructor & Destructor Documentation

HierarchyDataSource::HierarchyDataSource ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext)
explicit

Definition at line 182 of file hierarchydatasource.cxx.

HierarchyDataSource::~HierarchyDataSource ( )
overridevirtual

Definition at line 190 of file hierarchydatasource.cxx.

Member Function Documentation

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

Reimplemented from cppu::OWeakObject.

Definition at line 196 of file hierarchydatasource.cxx.

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

Definition at line 269 of file hierarchydatasource.cxx.

bool HierarchyDataSource::createConfigPath ( const OUString &  rInPath,
OUString &  rOutPath 
)
staticprivate

Definition at line 477 of file hierarchydatasource.cxx.

References CONFIG_DATA_ROOT_KEY.

uno::Reference< uno::XInterface > SAL_CALL HierarchyDataSource::createInstance ( const OUString &  aServiceSpecifier)
overridevirtual

Definition at line 298 of file hierarchydatasource.cxx.

References CFGPROPERTY_NODEPATH, and CONFIG_DATA_ROOT_KEY.

virtual css::uno::Reference< css::uno::XInterface > SAL_CALL hierarchy_ucp::HierarchyDataSource::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments 
)
overridevirtual
css::uno::Reference< css::uno::XInterface > hierarchy_ucp::HierarchyDataSource::createInstanceWithArguments ( const OUString &  ServiceSpecifier,
const css::uno::Sequence< css::uno::Any > &  Arguments,
bool  bCheckArgs 
)
private
Exceptions
css::uno::Exception
static css::uno::Reference< css::lang::XSingleServiceFactory > hierarchy_ucp::HierarchyDataSource::createServiceFactory ( const css::uno::Reference< css::lang::XMultiServiceFactory > &  rxServiceMgr)
static
void SAL_CALL HierarchyDataSource::dispose ( void  )
overridevirtual

Definition at line 255 of file hierarchydatasource.cxx.

uno::Sequence< OUString > SAL_CALL HierarchyDataSource::getAvailableServiceNames ( )
overridevirtual

Definition at line 325 of file hierarchydatasource.cxx.

References READ_SERVICE_NAME, and READWRITE_SERVICE_NAME.

uno::Reference< lang::XMultiServiceFactory > HierarchyDataSource::getConfigProvider ( )
private

Definition at line 454 of file hierarchydatasource.cxx.

References m_xContext.

virtual css::uno::Sequence< sal_Int8 > SAL_CALL hierarchy_ucp::HierarchyDataSource::getImplementationId ( )
overridevirtual
virtual OUString SAL_CALL hierarchy_ucp::HierarchyDataSource::getImplementationName ( )
overridevirtual
static OUString hierarchy_ucp::HierarchyDataSource::getImplementationName_Static ( )
static
virtual css::uno::Sequence< OUString > SAL_CALL hierarchy_ucp::HierarchyDataSource::getSupportedServiceNames ( )
overridevirtual
css::uno::Sequence< OUString > HierarchyDataSource::getSupportedServiceNames_Static ( )
static

Definition at line 243 of file hierarchydatasource.cxx.

virtual css::uno::Sequence< css::uno::Type > SAL_CALL hierarchy_ucp::HierarchyDataSource::getTypes ( )
overridevirtual
css::uno::Any SAL_CALL HierarchyDataSource::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Definition at line 208 of file hierarchydatasource.cxx.

References cppu::queryInterface().

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

Reimplemented from cppu::OWeakObject.

Definition at line 202 of file hierarchydatasource.cxx.

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

Definition at line 283 of file hierarchydatasource.cxx.

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

Member Data Documentation

osl::Mutex hierarchy_ucp::HierarchyDataSource::m_aMutex
private

Definition at line 44 of file hierarchydatasource.hxx.

std::unique_ptr<comphelper::OInterfaceContainerHelper2> hierarchy_ucp::HierarchyDataSource::m_pDisposeEventListeners
private

Definition at line 47 of file hierarchydatasource.hxx.

css::uno::Reference< css::lang::XMultiServiceFactory > hierarchy_ucp::HierarchyDataSource::m_xConfigProvider
private

Definition at line 46 of file hierarchydatasource.hxx.

css::uno::Reference< css::uno::XComponentContext > hierarchy_ucp::HierarchyDataSource::m_xContext
private

Definition at line 45 of file hierarchydatasource.hxx.


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