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

#include <FDriver.hxx>

Inheritance diagram for connectivity::file::OFileDriver:
[legend]
Collaboration diagram for connectivity::file::OFileDriver:
[legend]

Public Member Functions

 OFileDriver (css::uno::Reference< css::uno::XComponentContext > _xContext)
 
virtual void SAL_CALL disposing () 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::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 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
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 

Protected Attributes

::osl::Mutex m_aMutex
 
connectivity::OWeakRefArray m_xConnections
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 

Detailed Description

Definition at line 35 of file FDriver.hxx.

Constructor & Destructor Documentation

◆ OFileDriver()

OFileDriver::OFileDriver ( css::uno::Reference< css::uno::XComponentContext >  _xContext)

Definition at line 40 of file FDriver.cxx.

References _xContext, m_aMutex, and m_xContext.

Member Function Documentation

◆ acceptsURL()

sal_Bool SAL_CALL OFileDriver::acceptsURL ( const OUString &  url)
overridevirtual

◆ connect()

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

◆ disposing()

void OFileDriver::disposing ( )
overridevirtual

Definition at line 46 of file FDriver.cxx.

References m_aMutex, and m_xConnections.

◆ getComponentContext()

const css::uno::Reference< css::uno::XComponentContext > & connectivity::file::OFileDriver::getComponentContext ( ) const
inline

◆ getDataDefinitionByConnection()

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

Definition at line 171 of file FDriver.cxx.

References connectivity::checkDisposed(), m_aMutex, and m_xConnections.

Referenced by getDataDefinitionByURL().

◆ getDataDefinitionByURL()

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

◆ getImplementationName()

OUString SAL_CALL OFileDriver::getImplementationName ( )
overridevirtual

◆ getMajorVersion()

sal_Int32 SAL_CALL OFileDriver::getMajorVersion ( )
overridevirtual

Definition at line 159 of file FDriver.cxx.

◆ getMinorVersion()

sal_Int32 SAL_CALL OFileDriver::getMinorVersion ( )
overridevirtual

Definition at line 164 of file FDriver.cxx.

◆ getPropertyInfo()

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

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL OFileDriver::getSupportedServiceNames ( )
overridevirtual

Definition at line 75 of file FDriver.cxx.

◆ supportsService()

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

Definition at line 69 of file FDriver.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex connectivity::file::OFileDriver::m_aMutex
protected

Definition at line 38 of file FDriver.hxx.

Referenced by connect(), disposing(), and getDataDefinitionByConnection().

◆ m_xConnections

connectivity::OWeakRefArray connectivity::file::OFileDriver::m_xConnections
protected

Definition at line 40 of file FDriver.hxx.

Referenced by connect(), disposing(), and getDataDefinitionByConnection().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > connectivity::file::OFileDriver::m_xContext
protected

Definition at line 43 of file FDriver.hxx.


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