LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
sdbtools::DataSourceMetaData Class Reference

default implementation for XDataSourceMetaData More...

#include <datasourcemetadata.hxx>

Inheritance diagram for sdbtools::DataSourceMetaData:
[legend]
Collaboration diagram for sdbtools::DataSourceMetaData:
[legend]

Public Member Functions

 DataSourceMetaData (const css::uno::Reference< css::uno::XComponentContext > &_rContext, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection)
 constructs the instance More...
 
virtual sal_Bool SAL_CALL supportsQueriesInFrom () override
 
- Public Member Functions inherited from sdbtools::ConnectionDependentComponent
::osl::Mutex & getMutex (GuardAccess) const
 
bool acquireConnection (GuardAccess)
 
void releaseConnection (GuardAccess)
 

Protected Member Functions

virtual ~DataSourceMetaData () override
 
- Protected Member Functions inherited from sdbtools::ConnectionDependentComponent
::osl::Mutex & getMutex () const
 
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
 ConnectionDependentComponent (css::uno::Reference< css::uno::XComponentContext > _xContext)
 
void setWeakConnection (const css::uno::Reference< css::sdbc::XConnection > &_rxConnection)
 sets the connection we depend on. More...
 
const css::uno::Reference< css::sdbc::XConnection > & getConnection () const
 

Private Member Functions

 DataSourceMetaData (const DataSourceMetaData &)=delete
 
DataSourceMetaDataoperator= (const DataSourceMetaData &)=delete
 

Detailed Description

default implementation for XDataSourceMetaData

Definition at line 38 of file datasourcemetadata.hxx.

Constructor & Destructor Documentation

◆ DataSourceMetaData() [1/2]

sdbtools::DataSourceMetaData::DataSourceMetaData ( const css::uno::Reference< css::uno::XComponentContext > &  _rContext,
const css::uno::Reference< css::sdbc::XConnection > &  _rxConnection 
)

constructs the instance

Parameters
_rContextthe component's context
_rxConnectionthe connection to work with. Will be held weak. Must not be <NULL>.
Exceptions
css::lang::NullPointerExceptionif _rxConnection is <NULL>

◆ ~DataSourceMetaData()

sdbtools::DataSourceMetaData::~DataSourceMetaData ( )
overrideprotectedvirtual

Definition at line 38 of file datasourcemetadata.cxx.

◆ DataSourceMetaData() [2/2]

sdbtools::DataSourceMetaData::DataSourceMetaData ( const DataSourceMetaData )
privatedelete

Member Function Documentation

◆ operator=()

DataSourceMetaData & sdbtools::DataSourceMetaData::operator= ( const DataSourceMetaData )
privatedelete

◆ supportsQueriesInFrom()

sal_Bool SAL_CALL sdbtools::DataSourceMetaData::supportsQueriesInFrom ( )
overridevirtual

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