LibreOffice Module connectivity (master) 1
|
#include <mysqlc_statement.hxx>
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 |
OConnection * | getOwnConnection () 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::IPropertyArrayHelper * | getArrayHelper () |
call this in the getInfoHelper method of your derived class. More... | |
Protected Member Functions | |
void | closeResultSet () |
::cppu::IPropertyArrayHelper * | createArrayHelper () 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::IPropertyArrayHelper * | createArrayHelper () 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< OConnection > | m_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 | |
OBroadcastHelper & | rBHelper |
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::IPropertyArrayHelper * | s_pProps = nullptr |
::osl::Mutex | s_aMutex |
Definition at line 50 of file mysqlc_statement.hxx.
|
overrideprotectedvirtual |
Definition at line 50 of file mysqlc_statement.cxx.
|
protected |
Definition at line 43 of file mysqlc_statement.cxx.
References m_aMutex, and m_xConnection.
|
overridevirtualnoexcept |
Reimplemented from cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Reimplemented in connectivity::mysqlc::OStatement.
Definition at line 377 of file mysqlc_statement.cxx.
References cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::acquire().
Referenced by connectivity::mysqlc::OPreparedStatement::acquire(), and connectivity::mysqlc::OStatement::acquire().
|
override |
Definition at line 94 of file mysqlc_statement.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), cppu::BaseMutex::m_aMutex, and cppu::OPropertySetHelper::rBHelper.
|
override |
Definition at line 288 of file mysqlc_statement.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), m_aLastWarning, cppu::BaseMutex::m_aMutex, and cppu::OPropertySetHelper::rBHelper.
Referenced by connectivity::mysqlc::OPreparedStatement::close().
|
override |
Definition at line 101 of file mysqlc_statement.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), closeResultSet(), cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::dispose(), cppu::BaseMutex::m_aMutex, and cppu::OPropertySetHelper::rBHelper.
Referenced by connectivity::mysqlc::OPreparedStatement::close().
|
protected |
Definition at line 52 of file mysqlc_statement.cxx.
References m_xResultSet.
Referenced by close(), connectivity::mysqlc::OStatement::execute(), and connectivity::mysqlc::OStatement::getMoreResults().
|
overrideprotected |
Definition at line 317 of file mysqlc_statement.cxx.
|
overrideprotectedvirtual |
used to implement the creation of the array helper which is shared amongst all instances of the class.
This method needs to be implemented in derived classes.
The method gets called with s_aMutex acquired.
Implements connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE >.
Definition at line 296 of file mysqlc_statement.cxx.
References cppu::UnoType< typename T >::get(), connectivity::mysqlc::PROPERTY_ID_CURSORNAME, connectivity::mysqlc::PROPERTY_ID_ESCAPEPROCESSING, connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_MAXFIELDSIZE, connectivity::mysqlc::PROPERTY_ID_MAXROWS, connectivity::mysqlc::PROPERTY_ID_QUERYTIMEOUT, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE, and connectivity::mysqlc::PROPERTY_ID_USEBOOKMARKS.
|
override |
Definition at line 62 of file mysqlc_statement.cxx.
References cppu::BaseMutex::m_aMutex, and m_xConnection.
|
overrideprotected |
Definition at line 344 of file mysqlc_statement.cxx.
References nHandle, connectivity::mysqlc::PROPERTY_ID_CURSORNAME, connectivity::mysqlc::PROPERTY_ID_ESCAPEPROCESSING, connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_MAXFIELDSIZE, connectivity::mysqlc::PROPERTY_ID_MAXROWS, connectivity::mysqlc::PROPERTY_ID_QUERYTIMEOUT, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE, and connectivity::mysqlc::PROPERTY_ID_USEBOOKMARKS.
|
overrideprotectedvirtual |
Implements cppu::OPropertySetHelper.
Definition at line 315 of file mysqlc_statement.cxx.
References connectivity::mysqlc::OPropertyArrayUsageHelper< TYPE >::getArrayHelper().
Referenced by getPropertySetInfo().
|
inline |
Definition at line 116 of file mysqlc_statement.hxx.
References m_xConnection.
Referenced by connectivity::mysqlc::OStatement::getResult(), and connectivity::mysqlc::OPreparedStatement::setObjectWithInfo().
|
override |
Definition at line 385 of file mysqlc_statement.cxx.
References getInfoHelper().
|
overridevirtual |
Reimplemented from cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Reimplemented in connectivity::mysqlc::OStatement.
Definition at line 80 of file mysqlc_statement.cxx.
References aTypes, connectivity::mysqlc::concatSequences(), and cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::getTypes().
Referenced by connectivity::mysqlc::OPreparedStatement::getTypes(), and connectivity::mysqlc::OStatement::getTypes().
|
override |
Definition at line 280 of file mysqlc_statement.cxx.
References Any, cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), m_aLastWarning, cppu::BaseMutex::m_aMutex, and cppu::OPropertySetHelper::rBHelper.
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Reimplemented in connectivity::mysqlc::OStatement.
Referenced by connectivity::mysqlc::OPreparedStatement::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Reimplemented in connectivity::mysqlc::OStatement.
Definition at line 379 of file mysqlc_statement.cxx.
References cppu::WeakComponentImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::release().
Referenced by connectivity::mysqlc::OPreparedStatement::release(), and connectivity::mysqlc::OStatement::release().
|
overrideprotected |
Definition at line 325 of file mysqlc_statement.cxx.
References nHandle, connectivity::mysqlc::PROPERTY_ID_CURSORNAME, connectivity::mysqlc::PROPERTY_ID_ESCAPEPROCESSING, connectivity::mysqlc::PROPERTY_ID_FETCHDIRECTION, connectivity::mysqlc::PROPERTY_ID_FETCHSIZE, connectivity::mysqlc::PROPERTY_ID_MAXFIELDSIZE, connectivity::mysqlc::PROPERTY_ID_MAXROWS, connectivity::mysqlc::PROPERTY_ID_QUERYTIMEOUT, connectivity::mysqlc::PROPERTY_ID_RESULTSETCONCURRENCY, connectivity::mysqlc::PROPERTY_ID_RESULTSETTYPE, and connectivity::mysqlc::PROPERTY_ID_USEBOOKMARKS.
|
private |
Definition at line 57 of file mysqlc_statement.hxx.
Referenced by clearWarnings(), and getWarnings().
|
protected |
Definition at line 65 of file mysqlc_statement.hxx.
Referenced by connectivity::mysqlc::OStatement::execute(), connectivity::mysqlc::OStatement::executeUpdate(), connectivity::mysqlc::OStatement::getMoreResults(), connectivity::mysqlc::OStatement::getResult(), and connectivity::mysqlc::OStatement::getUpdateCount().
|
protected |
Definition at line 60 of file mysqlc_statement.hxx.
Referenced by disposing(), connectivity::mysqlc::OPreparedStatement::execute(), connectivity::mysqlc::OStatement::execute(), connectivity::mysqlc::OPreparedStatement::executeQuery(), connectivity::mysqlc::OPreparedStatement::executeUpdate(), connectivity::mysqlc::OPreparedStatement::getConnection(), connectivity::mysqlc::OStatement::getConnection(), connectivity::mysqlc::OPreparedStatement::getMetaData(), connectivity::mysqlc::OStatement::getMoreResults(), getOwnConnection(), connectivity::mysqlc::OStatement::getResult(), and connectivity::mysqlc::OPreparedStatement::setString().
|
protected |
Definition at line 62 of file mysqlc_statement.hxx.
Referenced by closeResultSet(), connectivity::mysqlc::OStatement::executeQuery(), connectivity::mysqlc::OStatement::getResult(), and connectivity::mysqlc::OStatement::getResultSet().