LibreOffice Module connectivity (master) 1
|
#include <Statement.hxx>
Public Member Functions | |
OStatement (Connection *_pConnection) | |
virtual void | disposeResultSet () override |
DECLARE_SERVICE_INFO () | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | executeQuery (const OUString &sql) override |
virtual sal_Int32 SAL_CALL | executeUpdate (const OUString &sqlIn) override |
virtual sal_Bool SAL_CALL | execute (const OUString &sql) override |
virtual css::uno::Reference< css::sdbc::XConnection > SAL_CALL | getConnection () override |
virtual void SAL_CALL | addBatch (const OUString &sql) override |
virtual void SAL_CALL | clearBatch () override |
virtual css::uno::Sequence< sal_Int32 > SAL_CALL | executeBatch () override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual void SAL_CALL | disposing () override |
![]() | |
OStatementCommonBase (Connection *_pConnection) | |
virtual void SAL_CALL | disposing () override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | acquire () noexcept override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual css::uno::Any SAL_CALL | getWarnings () override |
virtual void SAL_CALL | clearWarnings () override |
virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL | getResultSet () override |
virtual sal_Int32 SAL_CALL | getUpdateCount () override |
virtual sal_Bool SAL_CALL | getMoreResults () override |
virtual void SAL_CALL | cancel () override |
virtual void SAL_CALL | close () 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 |
Protected Member Functions | |
virtual | ~OStatement () override |
![]() | |
virtual void | disposeResultSet () |
void | freeStatementHandle () |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
used to implement the creation of the array helper which is shared amongst all instances of the class. More... | |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual | ~OStatementCommonBase () override |
void | prepareAndDescribeStatement (std::u16string_view sqlIn, XSQLDA *&pOutSqlda) |
short | getSqlInfoItem (char aInfoItem) |
bool | isDDLStatement () |
sal_Int32 | getStatementChangeCount () |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
![]() | |
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... | |
![]() | |
~ImplHelper1 () SAL_NOEXCEPT | |
Private Attributes | |
XSQLDA * | m_pSqlda |
Additional Inherited Members | |
![]() | |
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | createPropertySetInfo (IPropertyArrayHelper &rProperties) |
![]() | |
::osl::Mutex | m_aMutex |
css::uno::Reference< css::sdbc::XResultSet > | m_xResultSet |
::rtl::Reference< Connection > | m_pConnection |
ISC_STATUS_ARRAY | m_statusVector |
isc_stmt_handle | m_aStatementHandle |
![]() | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
![]() | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
::osl::Mutex | s_aMutex |
Definition at line 33 of file Statement.hxx.
|
inlineoverrideprotectedvirtual |
Definition at line 40 of file Statement.hxx.
|
inlineexplicit |
Definition at line 44 of file Statement.hxx.
|
overridevirtualnoexcept |
Reimplemented from connectivity::firebird::OStatementCommonBase.
Definition at line 60 of file Statement.cxx.
References connectivity::firebird::OStatementCommonBase::acquire().
|
overridevirtual |
Definition at line 45 of file Statement.cxx.
|
overridevirtual |
Definition at line 49 of file Statement.cxx.
connectivity::firebird::OStatement::DECLARE_SERVICE_INFO | ( | ) |
|
overridevirtual |
Reimplemented from connectivity::firebird::OStatementCommonBase.
Definition at line 70 of file Statement.cxx.
References connectivity::firebird::OStatementCommonBase::disposeResultSet(), connectivity::firebird::freeSQLVAR(), connectivity::firebird::OStatementCommonBase::m_aMutex, and m_pSqlda.
Referenced by disposing(), and executeQuery().
|
overridevirtual |
Reimplemented from connectivity::firebird::OStatementCommonBase.
Definition at line 165 of file Statement.cxx.
References connectivity::firebird::OStatementCommonBase::close(), and disposeResultSet().
|
overridevirtual |
Definition at line 134 of file Statement.cxx.
References executeQuery().
Referenced by executeUpdate().
|
overridevirtual |
Definition at line 53 of file Statement.cxx.
|
overridevirtual |
Definition at line 94 of file Statement.cxx.
References connectivity::firebird::checkDisposed(), disposeResultSet(), connectivity::firebird::evaluateStatusVector(), connectivity::firebird::OStatementCommonBase::isDDLStatement(), connectivity::firebird::OStatementCommonBase::m_aMutex, connectivity::firebird::OStatementCommonBase::m_aStatementHandle, connectivity::firebird::OStatementCommonBase::m_pConnection, m_pSqlda, connectivity::firebird::OStatementCommonBase::m_statusVector, connectivity::firebird::OStatementCommonBase::m_xResultSet, connectivity::firebird::OStatementCommonBase::prepareAndDescribeStatement(), SAL_INFO, and SAL_WARN.
Referenced by execute().
|
overridevirtual |
Definition at line 87 of file Statement.cxx.
References execute(), and connectivity::firebird::OStatementCommonBase::getStatementChangeCount().
|
overridevirtual |
Definition at line 141 of file Statement.cxx.
References connectivity::firebird::checkDisposed(), connectivity::firebird::OStatementCommonBase::m_aMutex, and connectivity::firebird::OStatementCommonBase::m_pConnection.
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
Definition at line 159 of file Statement.cxx.
References concatSequences(), connectivity::firebird::OStatementCommonBase::getTypes(), and cppu::ImplHelper1< class Ifc1 >::getTypes().
|
overridevirtual |
Reimplemented from cppu::ImplHelper1< class Ifc1 >.
|
overridevirtualnoexcept |
Reimplemented from connectivity::firebird::OStatementCommonBase.
Definition at line 65 of file Statement.cxx.
References connectivity::firebird::OStatementCommonBase::release().
|
private |
Definition at line 38 of file Statement.hxx.
Referenced by disposeResultSet(), and executeQuery().