LibreOffice Module connectivity (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
connectivity::evoab::OEvoabDriver Class Referencefinal

#include <NDriver.hxx>

Inheritance diagram for connectivity::evoab::OEvoabDriver:
[legend]
Collaboration diagram for connectivity::evoab::OEvoabDriver:
[legend]

Public Member Functions

 OEvoabDriver (const css::uno::Reference< css::uno::XComponentContext > &)
 
virtual ~OEvoabDriver () override
 
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
 
const css::uno::Reference< css::uno::XComponentContext > & getComponentContext () const
 

Static Public Member Functions

static bool acceptsURL_Stat (std::u16string_view url)
 

Private Attributes

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

Detailed Description

Definition at line 39 of file NDriver.hxx.

Constructor & Destructor Documentation

◆ OEvoabDriver()

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

Definition at line 40 of file NDriver.cxx.

References m_aMutex, and m_xContext.

◆ ~OEvoabDriver()

OEvoabDriver::~OEvoabDriver ( )
overridevirtual

Definition at line 45 of file NDriver.cxx.

Member Function Documentation

◆ acceptsURL()

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

Definition at line 114 of file NDriver.cxx.

References acceptsURL_Stat().

Referenced by connect(), and getPropertyInfo().

◆ acceptsURL_Stat()

bool OEvoabDriver::acceptsURL_Stat ( std::u16string_view  url)
static

Definition at line 144 of file NDriver.cxx.

References EApiInit(), and u.

Referenced by acceptsURL().

◆ connect()

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

Definition at line 98 of file NDriver.cxx.

References acceptsURL(), m_aMutex, and m_xConnections.

◆ disposing()

void OEvoabDriver::disposing ( )
overridevirtual

Definition at line 49 of file NDriver.cxx.

References m_aMutex, and m_xConnections.

◆ getComponentContext()

const css::uno::Reference< css::uno::XComponentContext > & connectivity::evoab::OEvoabDriver::getComponentContext ( ) const
inline

Definition at line 66 of file NDriver.hxx.

References m_xContext.

◆ getImplementationName()

OUString SAL_CALL OEvoabDriver::getImplementationName ( )
overridevirtual

Definition at line 78 of file NDriver.cxx.

References EVOAB_DRIVER_IMPL_NAME.

◆ getMajorVersion()

sal_Int32 SAL_CALL OEvoabDriver::getMajorVersion ( )
overridevirtual

Definition at line 134 of file NDriver.cxx.

◆ getMinorVersion()

sal_Int32 SAL_CALL OEvoabDriver::getMinorVersion ( )
overridevirtual

Definition at line 139 of file NDriver.cxx.

◆ getPropertyInfo()

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

◆ getSupportedServiceNames()

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

Definition at line 90 of file NDriver.cxx.

◆ supportsService()

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

Definition at line 85 of file NDriver.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_aMutex

::osl::Mutex connectivity::evoab::OEvoabDriver::m_aMutex
private

Definition at line 41 of file NDriver.hxx.

Referenced by connect(), and disposing().

◆ m_xConnections

connectivity::OWeakRefArray connectivity::evoab::OEvoabDriver::m_xConnections
private

Definition at line 42 of file NDriver.hxx.

Referenced by connect(), and disposing().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > connectivity::evoab::OEvoabDriver::m_xContext
private

Definition at line 43 of file NDriver.hxx.

Referenced by getComponentContext().


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