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

#include <mysqlc_statement.hxx>

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

Public Member Functions

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...
 

Protected Member Functions

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 Attributes

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
 

Private Attributes

SQLWarning m_aLastWarning
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- 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 50 of file mysqlc_statement.hxx.

Constructor & Destructor Documentation

◆ ~OCommonStatement()

OCommonStatement::~OCommonStatement ( )
overrideprotectedvirtual

Definition at line 50 of file mysqlc_statement.cxx.

◆ OCommonStatement()

OCommonStatement::OCommonStatement ( OConnection _pConnection)
protected

Definition at line 43 of file mysqlc_statement.cxx.

References m_aMutex, and m_xConnection.

Member Function Documentation

◆ acquire()

void SAL_CALL OCommonStatement::acquire ( )
overridevirtualnoexcept

◆ cancel()

void SAL_CALL OCommonStatement::cancel ( )
override

◆ clearWarnings()

void SAL_CALL OCommonStatement::clearWarnings ( )
override

◆ close()

void SAL_CALL OCommonStatement::close ( )
override

◆ closeResultSet()

void OCommonStatement::closeResultSet ( )
protected

◆ convertFastPropertyValue()

sal_Bool OCommonStatement::convertFastPropertyValue ( Any &  rConvertedValue,
Any &  rOldValue,
sal_Int32  nHandle,
const Any &  rValue 
)
overrideprotected

Definition at line 317 of file mysqlc_statement.cxx.

◆ createArrayHelper()

cppu::IPropertyArrayHelper * OCommonStatement::createArrayHelper ( ) const
overrideprotectedvirtual

◆ disposing()

void OCommonStatement::disposing ( )
override

Definition at line 62 of file mysqlc_statement.cxx.

References cppu::BaseMutex::m_aMutex, and m_xConnection.

◆ getFastPropertyValue()

void OCommonStatement::getFastPropertyValue ( Any &  rValue,
sal_Int32  nHandle 
) const
overrideprotected

◆ getInfoHelper()

cppu::IPropertyArrayHelper & OCommonStatement::getInfoHelper ( )
overrideprotectedvirtual

◆ getOwnConnection()

OConnection * connectivity::mysqlc::OCommonStatement::getOwnConnection ( ) const
inline

◆ getPropertySetInfo()

Reference< css::beans::XPropertySetInfo > SAL_CALL OCommonStatement::getPropertySetInfo ( )
override

Definition at line 385 of file mysqlc_statement.cxx.

References getInfoHelper().

◆ getTypes()

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

◆ getWarnings()

Any SAL_CALL OCommonStatement::getWarnings ( )
override

◆ queryInterface()

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

◆ release()

void SAL_CALL OCommonStatement::release ( )
overridevirtualnoexcept

◆ setFastPropertyValue_NoBroadcast()

void OCommonStatement::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const Any &  rValue 
)
overrideprotected

Member Data Documentation

◆ m_aLastWarning

SQLWarning connectivity::mysqlc::OCommonStatement::m_aLastWarning
private

Definition at line 57 of file mysqlc_statement.hxx.

Referenced by clearWarnings(), and getWarnings().

◆ m_nAffectedRows

sal_Int32 connectivity::mysqlc::OCommonStatement::m_nAffectedRows = 0
protected

◆ m_xConnection

rtl::Reference<OConnection> connectivity::mysqlc::OCommonStatement::m_xConnection
protected

◆ m_xResultSet

css::uno::Reference<css::sdbc::XResultSet> connectivity::mysqlc::OCommonStatement::m_xResultSet
protected

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