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

#include <mysqlc_statement.hxx>

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

Public Member Functions

 OStatement (OConnection *_pConnection)
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
void SAL_CALL acquire () noexcept override
 
void SAL_CALL release () noexcept override
 
css::uno::Sequence< Type > SAL_CALL getTypes () override
 
css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery (const OUString &sql) override
 
sal_Int32 SAL_CALL executeUpdate (const OUString &sql) override
 
sal_Bool SAL_CALL execute (const OUString &sql) override
 
css::uno::Reference< css::sdbc::XConnection > SAL_CALL getConnection () override
 
css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getResultSet () override
 
sal_Int32 SAL_CALL getUpdateCount () override
 
sal_Bool SAL_CALL getMoreResults () override
 
- Public Member Functions inherited from connectivity::mysqlc::OCommonStatement
void SAL_CALL disposing () override
 
void SAL_CALL release () noexcept override
 
void SAL_CALL acquire () noexcept override
 
Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
Any SAL_CALL getWarnings () override
 
void SAL_CALL clearWarnings () override
 
void SAL_CALL cancel () override
 
void SAL_CALL close () override
 
OConnectiongetOwnConnection () const
 
- Public Member Functions inherited from cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
 WeakComponentImplHelper3 (::osl::Mutex &rMutex) SAL_NOEXCEPT
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL dispose () SAL_OVERRIDE
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
- Public Member Functions inherited from connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 call this in the getInfoHelper method of your derived class. More...
 
- Public Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Private Member Functions

virtual ~OStatement () override=default
 
bool getResult ()
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Protected Member Functions inherited from connectivity::mysqlc::OCommonStatement
void closeResultSet ()
 
::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 used to implement the creation of the array helper which is shared amongst all instances of the class. More...
 
::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
sal_Bool SAL_CALL convertFastPropertyValue (Any &rConvertedValue, Any &rOldValue, sal_Int32 nHandle, const Any &rValue) override
 
void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const Any &rValue) override
 
void SAL_CALL getFastPropertyValue (Any &rValue, sal_Int32 nHandle) const override
 
virtual ~OCommonStatement () override
 
 OCommonStatement (OConnection *_pConnection)
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 used to implement the creation of the array helper which is shared amongst all instances of the class. More...
 
- Protected Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
 ~ImplHelper3 () SAL_NOEXCEPT
 
- Protected Attributes inherited from connectivity::mysqlc::OCommonStatement
rtl::Reference< OConnectionm_xConnection
 
css::uno::Reference< css::sdbc::XResultSet > m_xResultSet
 
sal_Int32 m_nAffectedRows = 0
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Static Protected Attributes inherited from connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE >
static sal_Int32 s_nRefCount = 0
 
::cppu::IPropertyArrayHelpers_pProps = nullptr
 
::osl::Mutex s_aMutex
 

Detailed Description

Definition at line 126 of file mysqlc_statement.hxx.

Constructor & Destructor Documentation

◆ ~OStatement()

virtual connectivity::mysqlc::OStatement::~OStatement ( )
overrideprivatevirtualdefault

◆ OStatement()

connectivity::mysqlc::OStatement::OStatement ( OConnection _pConnection)
inline

Definition at line 134 of file mysqlc_statement.hxx.

Member Function Documentation

◆ acquire()

void SAL_CALL OStatement::acquire ( )
overridevirtualnoexcept

◆ execute()

sal_Bool SAL_CALL OStatement::execute ( const OUString &  sql)
override

◆ executeQuery()

Reference< XResultSet > SAL_CALL OStatement::executeQuery ( const OUString &  sql)
override

◆ executeUpdate()

sal_Int32 SAL_CALL OStatement::executeUpdate ( const OUString &  sql)
override

◆ getConnection()

Reference< XConnection > SAL_CALL OStatement::getConnection ( )
override

◆ getImplementationName()

OUString OStatement::getImplementationName ( )
overridevirtual

Definition at line 365 of file mysqlc_statement.cxx.

◆ getMoreResults()

sal_Bool SAL_CALL OStatement::getMoreResults ( )
override

◆ getResult()

bool OStatement::getResult ( )
private

◆ getResultSet()

Reference< XResultSet > SAL_CALL OStatement::getResultSet ( )
override

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > OStatement::getSupportedServiceNames ( )
overridevirtual

Definition at line 367 of file mysqlc_statement.cxx.

◆ getTypes()

Sequence< Type > SAL_CALL OStatement::getTypes ( )
overridevirtual

◆ getUpdateCount()

sal_Int32 SAL_CALL OStatement::getUpdateCount ( )
override

◆ queryInterface()

Any SAL_CALL connectivity::mysqlc::OStatement::queryInterface ( const css::uno::Type &  rType)
overridevirtual

◆ release()

void SAL_CALL OStatement::release ( )
overridevirtualnoexcept

◆ supportsService()

sal_Bool OStatement::supportsService ( OUString const &  ServiceName)
overridevirtual

Definition at line 372 of file mysqlc_statement.cxx.

References ServiceName, and cppu::supportsService().


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