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

#include <ZDriverWrapper.hxx>

Inheritance diagram for connectivity::ODriverWrapper:
[legend]
Collaboration diagram for connectivity::ODriverWrapper:
[legend]

Public Member Functions

 ODriverWrapper (css::uno::Reference< css::uno::XAggregation > &_rxAggregateDriver, OConnectionPool *_pPool)
 creates a new wrapper for a driver More...
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 

Private Member Functions

virtual ~ODriverWrapper () override
 dtor More...
 
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
 

Private Attributes

css::uno::Reference< css::uno::XAggregation > m_xDriverAggregate
 
css::uno::Reference< css::sdbc::XDriver > m_xDriver
 
rtl::Reference< OConnectionPoolm_pConnectionPool
 

Detailed Description

Definition at line 36 of file ZDriverWrapper.hxx.

Constructor & Destructor Documentation

◆ ODriverWrapper()

connectivity::ODriverWrapper::ODriverWrapper ( css::uno::Reference< css::uno::XAggregation > &  _rxAggregateDriver,
OConnectionPool _pPool 
)

creates a new wrapper for a driver

Parameters
_rxAggregateDriverthe driver to aggregate. The object will be reset to <NULL> when returning from the ctor.

Definition at line 33 of file ZDriverWrapper.cxx.

References m_pConnectionPool, m_refCount, m_xDriver, and m_xDriverAggregate.

◆ ~ODriverWrapper()

connectivity::ODriverWrapper::~ODriverWrapper ( )
overrideprivatevirtual

dtor

Definition at line 57 of file ZDriverWrapper.cxx.

References m_xDriverAggregate.

Member Function Documentation

◆ acceptsURL()

sal_Bool SAL_CALL connectivity::ODriverWrapper::acceptsURL ( const OUString &  url)
overrideprivatevirtual

Definition at line 84 of file ZDriverWrapper.cxx.

References m_xDriver.

◆ connect()

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

Definition at line 71 of file ZDriverWrapper.cxx.

References m_pConnectionPool, and m_xDriver.

◆ getMajorVersion()

sal_Int32 SAL_CALL connectivity::ODriverWrapper::getMajorVersion ( )
overrideprivatevirtual

Definition at line 99 of file ZDriverWrapper.cxx.

References m_xDriver.

◆ getMinorVersion()

sal_Int32 SAL_CALL connectivity::ODriverWrapper::getMinorVersion ( )
overrideprivatevirtual

Definition at line 105 of file ZDriverWrapper.cxx.

References m_xDriver.

◆ getPropertyInfo()

Sequence< DriverPropertyInfo > SAL_CALL connectivity::ODriverWrapper::getPropertyInfo ( const OUString &  url,
const css::uno::Sequence< css::beans::PropertyValue > &  info 
)
overrideprivatevirtual

Definition at line 90 of file ZDriverWrapper.cxx.

References m_xDriver.

◆ queryInterface()

Any SAL_CALL connectivity::ODriverWrapper::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 64 of file ZDriverWrapper.cxx.

References Any, and m_xDriverAggregate.

Member Data Documentation

◆ m_pConnectionPool

rtl::Reference<OConnectionPool> connectivity::ODriverWrapper::m_pConnectionPool
private

Definition at line 43 of file ZDriverWrapper.hxx.

Referenced by connect(), and ODriverWrapper().

◆ m_xDriver

css::uno::Reference< css::sdbc::XDriver > connectivity::ODriverWrapper::m_xDriver
private

◆ m_xDriverAggregate

css::uno::Reference< css::uno::XAggregation > connectivity::ODriverWrapper::m_xDriverAggregate
private

Definition at line 39 of file ZDriverWrapper.hxx.

Referenced by ODriverWrapper(), queryInterface(), and ~ODriverWrapper().


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