LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
connectivity::mysqlc::MysqlCDriver Class Reference

#include <mysqlc_driver.hxx>

Inheritance diagram for connectivity::mysqlc::MysqlCDriver:
[legend]
Collaboration diagram for connectivity::mysqlc::MysqlCDriver:
[legend]

Public Member Functions

 MysqlCDriver (const Reference< css::lang::XMultiServiceFactory > &_rxFactory)
 
void SAL_CALL disposing () override
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
Reference< css::sdbc::XConnection > SAL_CALL connect (const OUString &url, const Sequence< css::beans::PropertyValue > &info) override
 
sal_Bool SAL_CALL acceptsURL (const OUString &url) override
 
Sequence< css::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo (const OUString &url, const Sequence< css::beans::PropertyValue > &info) override
 
sal_Int32 SAL_CALL getMajorVersion () override
 
sal_Int32 SAL_CALL getMinorVersion () override
 
const Reference< css::lang::XMultiServiceFactory > & getFactory () const
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByConnection (const css::uno::Reference< css::sdbc::XConnection > &rxConnection) override
 
virtual css::uno::Reference< css::sdbcx::XTablesSupplier > SAL_CALL getDataDefinitionByURL (const OUString &rsURL, const css::uno::Sequence< css::beans::PropertyValue > &rInfo) override
 

Static Public Member Functions

static OUString getImplementationName_Static ()
 
static Sequence< OUString > getSupportedServiceNames_Static ()
 
static rtl_TextEncoding getDefaultEncoding ()
 

Protected Attributes

Reference< css::lang::XMultiServiceFactory > m_xFactory
 
::osl::Mutex m_aMutex
 
OWeakRefArray m_xConnections
 

Detailed Description

Definition at line 42 of file mysqlc_driver.hxx.

Constructor & Destructor Documentation

◆ MysqlCDriver()

MysqlCDriver::MysqlCDriver ( const Reference< css::lang::XMultiServiceFactory > &  _rxFactory)
explicit

Definition at line 32 of file mysqlc_driver.cxx.

References m_aMutex.

Member Function Documentation

◆ acceptsURL()

sal_Bool SAL_CALL MysqlCDriver::acceptsURL ( const OUString &  url)
override

Definition at line 97 of file mysqlc_driver.cxx.

Referenced by connect(), and getPropertyInfo().

◆ connect()

Reference< XConnection > SAL_CALL MysqlCDriver::connect ( const OUString &  url,
const Sequence< css::beans::PropertyValue > &  info 
)
override

Definition at line 79 of file mysqlc_driver.cxx.

References acceptsURL(), m_aMutex, and m_xConnections.

Referenced by getDataDefinitionByURL().

◆ disposing()

void MysqlCDriver::disposing ( )
override

Definition at line 38 of file mysqlc_driver.cxx.

References m_aMutex, and m_xConnections.

◆ getDataDefinitionByConnection()

Reference< XTablesSupplier > SAL_CALL MysqlCDriver::getDataDefinitionByConnection ( const css::uno::Reference< css::sdbc::XConnection > &  rxConnection)
overridevirtual

Definition at line 119 of file mysqlc_driver.cxx.

Referenced by getDataDefinitionByURL().

◆ getDataDefinitionByURL()

Reference< XTablesSupplier > SAL_CALL MysqlCDriver::getDataDefinitionByURL ( const OUString &  rsURL,
const css::uno::Sequence< css::beans::PropertyValue > &  rInfo 
)
overridevirtual

Definition at line 127 of file mysqlc_driver.cxx.

References connect(), and getDataDefinitionByConnection().

◆ getDefaultEncoding()

static rtl_TextEncoding connectivity::mysqlc::MysqlCDriver::getDefaultEncoding ( )
inlinestatic

Definition at line 77 of file mysqlc_driver.hxx.

◆ getFactory()

const Reference< css::lang::XMultiServiceFactory > & connectivity::mysqlc::MysqlCDriver::getFactory ( ) const
inline

Definition at line 75 of file mysqlc_driver.hxx.

References m_xFactory.

◆ getImplementationName()

OUString SAL_CALL MysqlCDriver::getImplementationName ( )
override

Definition at line 67 of file mysqlc_driver.cxx.

References getImplementationName_Static().

◆ getImplementationName_Static()

OUString MysqlCDriver::getImplementationName_Static ( )
static

Definition at line 57 of file mysqlc_driver.cxx.

Referenced by getImplementationName().

◆ getMajorVersion()

sal_Int32 SAL_CALL MysqlCDriver::getMajorVersion ( )
override

Definition at line 114 of file mysqlc_driver.cxx.

◆ getMinorVersion()

sal_Int32 SAL_CALL MysqlCDriver::getMinorVersion ( )
override

Definition at line 116 of file mysqlc_driver.cxx.

◆ getPropertyInfo()

Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo ( const OUString &  url,
const Sequence< css::beans::PropertyValue > &  info 
)
override

Definition at line 103 of file mysqlc_driver.cxx.

References acceptsURL().

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL MysqlCDriver::getSupportedServiceNames ( )
override

Definition at line 74 of file mysqlc_driver.cxx.

References getSupportedServiceNames_Static().

◆ getSupportedServiceNames_Static()

Sequence< OUString > MysqlCDriver::getSupportedServiceNames_Static ( )
static

Definition at line 62 of file mysqlc_driver.cxx.

Referenced by getSupportedServiceNames().

◆ supportsService()

sal_Bool SAL_CALL MysqlCDriver::supportsService ( const OUString &  ServiceName)
override

Definition at line 69 of file mysqlc_driver.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex connectivity::mysqlc::MysqlCDriver::m_aMutex
protected

Definition at line 46 of file mysqlc_driver.hxx.

Referenced by connect(), and disposing().

◆ m_xConnections

OWeakRefArray connectivity::mysqlc::MysqlCDriver::m_xConnections
protected

Definition at line 47 of file mysqlc_driver.hxx.

Referenced by connect(), and disposing().

◆ m_xFactory

Reference<css::lang::XMultiServiceFactory> connectivity::mysqlc::MysqlCDriver::m_xFactory
protected

Definition at line 45 of file mysqlc_driver.hxx.

Referenced by getFactory().


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