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

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
 

Detailed Description

Definition at line 37 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::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 233 of file hierarchydatasource.cxx.

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

Definition at line 441 of file hierarchydatasource.cxx.

References CONFIG_DATA_ROOT_KEY.

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

Definition at line 262 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 219 of file hierarchydatasource.cxx.

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

Definition at line 289 of file hierarchydatasource.cxx.

References READ_SERVICE_NAME, and READWRITE_SERVICE_NAME.

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

Definition at line 418 of file hierarchydatasource.cxx.

References m_xContext.

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 207 of file hierarchydatasource.cxx.

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

Definition at line 247 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 42 of file hierarchydatasource.hxx.

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

Definition at line 45 of file hierarchydatasource.hxx.

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

Definition at line 44 of file hierarchydatasource.hxx.

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

Definition at line 43 of file hierarchydatasource.hxx.


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