|
LibreOffice Module connectivity (master) 1
|
#include <Awrapado.hxx>
Public Member Functions | |
| WpADOCommand ()=default | |
| WpADOCommand (const WpADOCommand &rhs) | |
| WpADOCommand & | operator= (const WpADOCommand &rhs) |
| bool | putref_ActiveConnection (const WpADOConnection &rCon) |
| void | put_ActiveConnection (const OLEVariant &vConn) |
| void | Create () |
| sal_Int32 | get_State () const |
| OUString | get_CommandText () const |
| bool | put_CommandText (std::u16string_view aCon) |
| sal_Int32 | get_CommandTimeout () const |
| void | put_CommandTimeout (sal_Int32 nRet) |
| bool | get_Prepared () const |
| bool | put_Prepared (VARIANT_BOOL bPrepared) const |
| bool | Execute (OLEVariant &RecordsAffected, OLEVariant &Parameters, long Options, ADORecordset **ppiRset) |
| ADOParameter * | CreateParameter (std::u16string_view _bstr, DataTypeEnum Type, ParameterDirectionEnum Direction, long nSize, const OLEVariant &Value) |
| ADOParameters * | get_Parameters () const |
| bool | put_CommandType (CommandTypeEnum lCmdType) |
| CommandTypeEnum | get_CommandType () const |
| OUString | GetName () const |
| bool | put_Name (std::u16string_view Name) |
| bool | Cancel () |
Public Member Functions inherited from connectivity::ado::WpOLEBase< ADOCommand > | |
| WpOLEBase (ADOCommand *pInt=nullptr) | |
| WpOLEBase (const WpOLEBase< ADOCommand > &aWrapper) | |
| WpOLEBase< ADOCommand > & | operator= (const WpOLEBase< ADOCommand > &rhs) |
| operator ADOCommand * () const | |
| ADOCommand ** | operator& () |
| bool | IsValid () const |
| void | set (ADOCommand *p) |
| void | clear () |
Additional Inherited Members | |
Protected Attributes inherited from connectivity::ado::WpOLEBase< ADOCommand > | |
| sal::systools::COMReference< ADOCommand > | pInterface |
Definition at line 139 of file Awrapado.hxx.
|
default |
|
inline |
Definition at line 145 of file Awrapado.hxx.
| bool WpADOCommand::Cancel | ( | ) |
Definition at line 384 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::cancel().
| void WpADOCommand::Create | ( | ) |
Definition at line 258 of file Awrapado.cxx.
References connectivity::ado::ADOS::CLSID_ADOCOMMAND_21, connectivity::ado::ADOS::GetKeyStr(), hr, connectivity::ado::ADOS::IID_ADOCOMMAND_21, and connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::OStatement_Base().
| ADOParameter * WpADOCommand::CreateParameter | ( | std::u16string_view | _bstr, |
| DataTypeEnum | Type, | ||
| ParameterDirectionEnum | Direction, | ||
| long | nSize, | ||
| const OLEVariant & | Value | ||
| ) |
Definition at line 335 of file Awrapado.cxx.
References Direction, connectivity::ado::WpOLEBase< ADOCommand >::pInterface, and Value.
Referenced by connectivity::ado::OPreparedStatement::setParameter().
| bool WpADOCommand::Execute | ( | OLEVariant & | RecordsAffected, |
| OLEVariant & | Parameters, | ||
| long | Options, | ||
| ADORecordset ** | ppiRset | ||
| ) |
Definition at line 329 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::execute(), connectivity::ado::OStatement_Base::execute(), connectivity::ado::OPreparedStatement::executeUpdate(), and connectivity::ado::OStatement_Base::executeUpdate().
| OUString WpADOCommand::get_CommandText | ( | ) | const |
Definition at line 284 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
| sal_Int32 WpADOCommand::get_CommandTimeout | ( | ) | const |
Definition at line 301 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::getQueryTimeOut().
| CommandTypeEnum WpADOCommand::get_CommandType | ( | ) | const |
Definition at line 359 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
| ADOParameters * WpADOCommand::get_Parameters | ( | ) | const |
Definition at line 345 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::OPreparedStatement().
| bool WpADOCommand::get_Prepared | ( | ) | const |
Definition at line 315 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
| sal_Int32 WpADOCommand::get_State | ( | ) | const |
Definition at line 276 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
| OUString WpADOCommand::GetName | ( | ) | const |
Definition at line 368 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::getCursorName().
|
inline |
Definition at line 147 of file Awrapado.hxx.
References connectivity::ado::WpOLEBase< T >::operator=().
| void WpADOCommand::put_ActiveConnection | ( | const OLEVariant & | vConn | ) |
Definition at line 252 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
| bool WpADOCommand::put_CommandText | ( | std::u16string_view | aCon | ) |
Definition at line 292 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::execute(), connectivity::ado::OStatement::executeBatch(), connectivity::ado::OStatement_Base::executeQuery(), connectivity::ado::OStatement_Base::executeUpdate(), and connectivity::ado::OPreparedStatement::OPreparedStatement().
| void WpADOCommand::put_CommandTimeout | ( | sal_Int32 | nRet | ) |
Definition at line 309 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::setQueryTimeOut().
| bool WpADOCommand::put_CommandType | ( | CommandTypeEnum | lCmdType | ) |
Definition at line 353 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OCallableStatement::OCallableStatement().
| bool WpADOCommand::put_Name | ( | std::u16string_view | Name | ) |
Definition at line 376 of file Awrapado.cxx.
References Name, and connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::setCursorName().
| bool WpADOCommand::put_Prepared | ( | VARIANT_BOOL | bPrepared | ) | const |
Definition at line 323 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::OPreparedStatement().
| bool WpADOCommand::putref_ActiveConnection | ( | const WpADOConnection & | rCon | ) |
Definition at line 246 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADOCommand >::pInterface.
Referenced by connectivity::ado::OStatement_Base::disposing(), and connectivity::ado::OStatement_Base::OStatement_Base().