LibreOffice Module connectivity (master) 1
|
#include <mysqlc_statement.hxx>
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
call this in the getInfoHelper method of your derived class. More... | |
![]() | |
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 css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
![]() | |
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) | |
![]() | |
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... | |
![]() | |
~ImplHelper3 () SAL_NOEXCEPT | |
![]() | |
rtl::Reference< OConnection > | m_xConnection |
css::uno::Reference< css::sdbc::XResultSet > | m_xResultSet |
sal_Int32 | m_nAffectedRows = 0 |
![]() | |
mutable::osl::Mutex | m_aMutex |
![]() | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
![]() | |
static sal_Int32 | s_nRefCount = 0 |
::cppu::IPropertyArrayHelper * | s_pProps = nullptr |
::osl::Mutex | s_aMutex |
Definition at line 126 of file mysqlc_statement.hxx.
|
overrideprivatevirtualdefault |
|
inline |
Definition at line 134 of file mysqlc_statement.hxx.
|
overridevirtualnoexcept |
Reimplemented from connectivity::mysqlc::OCommonStatement.
Definition at line 381 of file mysqlc_statement.cxx.
References connectivity::mysqlc::OCommonStatement::acquire().
|
override |
Definition at line 120 of file mysqlc_statement.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), connectivity::mysqlc::OCommonStatement::closeResultSet(), getResult(), cppu::BaseMutex::m_aMutex, connectivity::mysqlc::OCommonStatement::m_nAffectedRows, connectivity::mysqlc::OCommonStatement::m_xConnection, pq_sdbc_driver::OUStringToOString(), cppu::OPropertySetHelper::rBHelper, and mysqlc_sdbc_driver::throwSQLExceptionWithMsg().
Referenced by executeQuery(), and executeUpdate().
|
override |
Definition at line 145 of file mysqlc_statement.cxx.
References execute(), connectivity::mysqlc::OCommonStatement::m_xResultSet, and mysqlc_sdbc_driver::throwSQLExceptionWithMsg().
|
override |
Definition at line 199 of file mysqlc_statement.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), execute(), cppu::BaseMutex::m_aMutex, connectivity::mysqlc::OCommonStatement::m_nAffectedRows, and cppu::OPropertySetHelper::rBHelper.
|
override |
|
overridevirtual |
Definition at line 365 of file mysqlc_statement.cxx.
|
override |
Definition at line 251 of file mysqlc_statement.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, connectivity::mysqlc::checkDisposed(), connectivity::mysqlc::OCommonStatement::closeResultSet(), getResult(), cppu::BaseMutex::m_aMutex, connectivity::mysqlc::OCommonStatement::m_nAffectedRows, connectivity::mysqlc::OCommonStatement::m_xConnection, cppu::OPropertySetHelper::rBHelper, and mysqlc_sdbc_driver::throwSQLExceptionWithMsg().
|
private |
Definition at line 216 of file mysqlc_statement.cxx.
References connectivity::mysqlc::OCommonStatement::getOwnConnection(), connectivity::mysqlc::OCommonStatement::m_nAffectedRows, connectivity::mysqlc::OCommonStatement::m_xConnection, connectivity::mysqlc::OCommonStatement::m_xResultSet, and mysqlc_sdbc_driver::throwSQLExceptionWithMsg().
Referenced by execute(), and getMoreResults().
|
override |
|
overridevirtual |
Definition at line 367 of file mysqlc_statement.cxx.
|
overridevirtual |
Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
Definition at line 89 of file mysqlc_statement.cxx.
References connectivity::mysqlc::concatSequences(), connectivity::mysqlc::OCommonStatement::getTypes(), and cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >::getTypes().
|
override |
Definition at line 171 of file mysqlc_statement.cxx.
References connectivity::mysqlc::OCommonStatement::m_nAffectedRows.
|
overridevirtual |
Reimplemented from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >.
References Any.
|
overridevirtualnoexcept |
Reimplemented from connectivity::mysqlc::OCommonStatement.
Definition at line 383 of file mysqlc_statement.cxx.
References connectivity::mysqlc::OCommonStatement::release().
|
overridevirtual |
Definition at line 372 of file mysqlc_statement.cxx.
References ServiceName, and cppu::supportsService().