LibreOffice Module connectivity (master) 1
Public Member Functions | Private Attributes | List of all members
pq_sdbc_driver::Driver Class Reference

#include <pq_driver.hxx>

Inheritance diagram for pq_sdbc_driver::Driver:
[legend]
Collaboration diagram for pq_sdbc_driver::Driver:
[legend]

Public Member Functions

 Driver (const css::uno::Reference< css::uno::XComponentContext > &ctx)
 
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL connect (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
 
virtual sal_Bool SAL_CALL acceptsURL (const OUString &url) override
 
virtual css::uno::Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
 
virtual sal_Int32 SAL_CALL getMajorVersion () override
 
virtual sal_Int32 SAL_CALL getMinorVersion () 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 css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection (const css::uno::Reference< css::sdbc::XConnection > &connection) override
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL (const OUString &url, const css::uno::Sequence< css::beans::PropertyValue > &info) override
 
virtual void SAL_CALL disposing () override
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_ctx
 
css::uno::Reference< css::lang::XMultiComponentFactory > m_smgr
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 66 of file pq_driver.hxx.

Constructor & Destructor Documentation

◆ Driver()

pq_sdbc_driver::Driver::Driver ( const css::uno::Reference< css::uno::XComponentContext > &  ctx)
inlineexplicit

Definition at line 72 of file pq_driver.hxx.

References ctx.

Member Function Documentation

◆ acceptsURL()

sal_Bool pq_sdbc_driver::Driver::acceptsURL ( const OUString &  url)
overridevirtual

Definition at line 75 of file pq_driver.cxx.

Referenced by connect().

◆ connect()

Reference< XConnection > pq_sdbc_driver::Driver::connect ( const OUString &  url,
const css::uno::Sequence< css::beans::PropertyValue > &  info 
)
overridevirtual

Definition at line 61 of file pq_driver.cxx.

References acceptsURL(), Any, m_ctx, and m_smgr.

Referenced by getDataDefinitionByURL().

◆ disposing()

void pq_sdbc_driver::Driver::disposing ( )
overridevirtual

Definition at line 114 of file pq_driver.cxx.

◆ getDataDefinitionByConnection()

Reference< XTablesSupplier > pq_sdbc_driver::Driver::getDataDefinitionByConnection ( const css::uno::Reference< css::sdbc::XConnection > &  connection)
overridevirtual

Definition at line 120 of file pq_driver.cxx.

◆ getDataDefinitionByURL()

Reference< XTablesSupplier > pq_sdbc_driver::Driver::getDataDefinitionByURL ( const OUString &  url,
const css::uno::Sequence< css::beans::PropertyValue > &  info 
)
overridevirtual

Definition at line 126 of file pq_driver.cxx.

References connect().

◆ getImplementationName()

OUString SAL_CALL pq_sdbc_driver::Driver::getImplementationName ( )
overridevirtual

Definition at line 98 of file pq_driver.cxx.

◆ getMajorVersion()

sal_Int32 pq_sdbc_driver::Driver::getMajorVersion ( )
overridevirtual

Definition at line 86 of file pq_driver.cxx.

◆ getMinorVersion()

sal_Int32 pq_sdbc_driver::Driver::getMinorVersion ( )
overridevirtual

Definition at line 92 of file pq_driver.cxx.

◆ getPropertyInfo()

Sequence< DriverPropertyInfo > pq_sdbc_driver::Driver::getPropertyInfo ( const OUString &  url,
const css::uno::Sequence< css::beans::PropertyValue > &  info 
)
overridevirtual

Definition at line 80 of file pq_driver.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > pq_sdbc_driver::Driver::getSupportedServiceNames ( )
overridevirtual

Definition at line 108 of file pq_driver.cxx.

◆ supportsService()

sal_Bool pq_sdbc_driver::Driver::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 103 of file pq_driver.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ m_ctx

css::uno::Reference< css::uno::XComponentContext > pq_sdbc_driver::Driver::m_ctx
private

Definition at line 68 of file pq_driver.hxx.

Referenced by connect().

◆ m_smgr

css::uno::Reference< css::lang::XMultiComponentFactory > pq_sdbc_driver::Driver::m_smgr
private

Definition at line 69 of file pq_driver.hxx.

Referenced by connect().


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