LibreOffice Module connectivity (master) 1
|
#include <Awrapado.hxx>
Public Member Functions | |
WpADORecordset ()=default | |
WpADORecordset (const WpADORecordset &rhs) | |
WpADORecordset & | operator= (const WpADORecordset &rhs) |
void | Create () |
bool | Open (VARIANT Source, VARIANT ActiveConnection, CursorTypeEnum CursorType, LockTypeEnum LockType, sal_Int32 Options) |
LockTypeEnum | GetLockType () |
void | Close () |
bool | Cancel () const |
sal_Int32 | get_State () |
bool | Supports (CursorOptionEnum CursorOptions) |
PositionEnum_Param | get_AbsolutePosition () |
void | GetDataSource (IUnknown **pIUnknown) const |
void | PutRefDataSource (IUnknown *pIUnknown) |
void | GetBookmark (VARIANT &var) |
OLEVariant | GetBookmark () |
CompareEnum | CompareBookmarks (const OLEVariant &left, const OLEVariant &right) |
bool | SetBookmark (const OLEVariant &pSafeAr) |
WpADOFields | GetFields () const |
bool | Move (sal_Int32 nRows, VARIANT aBmk) |
bool | MoveNext () |
bool | MovePrevious () |
bool | MoveFirst () |
bool | MoveLast () |
bool | IsAtBOF () const |
bool | IsAtEOF () const |
bool | Delete (AffectEnum eNum) |
bool | AddNew (const OLEVariant &FieldList, const OLEVariant &Values) |
bool | Update (const OLEVariant &FieldList, const OLEVariant &Values) |
bool | CancelUpdate () |
WpADOProperties | get_Properties () const |
bool | NextRecordset (OLEVariant &RecordsAffected, ADORecordset **ppiRset) |
bool | get_RecordCount (ADO_LONGPTR &_nRet) const |
bool | get_MaxRecords (ADO_LONGPTR &_nRet) const |
bool | put_MaxRecords (ADO_LONGPTR _nRet) |
bool | get_CursorType (CursorTypeEnum &_nRet) const |
bool | put_CursorType (CursorTypeEnum _nRet) |
bool | get_LockType (LockTypeEnum &_nRet) const |
bool | put_LockType (LockTypeEnum _nRet) |
bool | get_CacheSize (sal_Int32 &_nRet) const |
bool | put_CacheSize (sal_Int32 _nRet) |
bool | UpdateBatch (AffectEnum AffectRecords) |
Public Member Functions inherited from connectivity::ado::WpOLEBase< ADORecordset > | |
WpOLEBase (ADORecordset *pInt=nullptr) | |
WpOLEBase (const WpOLEBase< ADORecordset > &aWrapper) | |
WpOLEBase< ADORecordset > & | operator= (const WpOLEBase< ADORecordset > &rhs) |
operator ADORecordset * () const | |
ADORecordset ** | operator& () |
bool | IsValid () const |
void | set (ADORecordset *p) |
void | clear () |
Additional Inherited Members | |
Protected Attributes inherited from connectivity::ado::WpOLEBase< ADORecordset > | |
sal::systools::COMReference< ADORecordset > | pInterface |
Definition at line 266 of file Awrapado.hxx.
|
default |
|
inline |
Definition at line 273 of file Awrapado.hxx.
References operator=().
bool WpADORecordset::AddNew | ( | const OLEVariant & | FieldList, |
const OLEVariant & | Values | ||
) |
Definition at line 802 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface, and Values.
bool WpADORecordset::Cancel | ( | ) | const |
Definition at line 694 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::CancelUpdate | ( | ) |
Definition at line 814 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
void WpADORecordset::Close | ( | ) |
Definition at line 688 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), connectivity::ado::ODatabaseMetaData::fillLiterals(), and connectivity::ado::ODatabaseMetaData::getSQLKeywords().
CompareEnum WpADORecordset::CompareBookmarks | ( | const OLEVariant & | left, |
const OLEVariant & | right | ||
) |
Definition at line 750 of file Awrapado.cxx.
References left, connectivity::ado::WpOLEBase< ADORecordset >::pInterface, and right.
void WpADORecordset::Create | ( | ) |
Definition at line 651 of file Awrapado.cxx.
References connectivity::ado::ADOS::CLSID_ADORECORDSET_21, connectivity::ado::ADOS::GetKeyStr(), hr, connectivity::ado::ADOS::IID_ADORECORDSET_21, and connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OStatement::executeBatch(), connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
bool WpADORecordset::Delete | ( | AffectEnum | eNum | ) |
Definition at line 796 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
PositionEnum_Param WpADORecordset::get_AbsolutePosition | ( | ) |
Definition at line 716 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::get_CacheSize | ( | sal_Int32 & | _nRet | ) | const |
Definition at line 876 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
bool WpADORecordset::get_CursorType | ( | CursorTypeEnum & | _nRet | ) | const |
Definition at line 852 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
bool WpADORecordset::get_LockType | ( | LockTypeEnum & | _nRet | ) | const |
Definition at line 864 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
bool WpADORecordset::get_MaxRecords | ( | ADO_LONGPTR & | _nRet | ) | const |
Definition at line 840 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), connectivity::ado::OStatement_Base::executeQuery(), and connectivity::ado::OStatement_Base::getMaxRows().
WpADOProperties WpADORecordset::get_Properties | ( | ) | const |
Definition at line 820 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::get_RecordCount | ( | ADO_LONGPTR & | _nRet | ) | const |
Definition at line 834 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OStatement::executeBatch(), and connectivity::ado::OStatement_Base::getUpdateCount().
sal_Int32 WpADORecordset::get_State | ( | ) |
Definition at line 700 of file Awrapado.cxx.
References nState, and connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
OLEVariant WpADORecordset::GetBookmark | ( | ) |
Definition at line 742 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
void WpADORecordset::GetBookmark | ( | VARIANT & | var | ) |
Definition at line 736 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
void WpADORecordset::GetDataSource | ( | IUnknown ** | pIUnknown | ) | const |
Definition at line 724 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
WpADOFields WpADORecordset::GetFields | ( | ) | const |
Definition at line 765 of file Awrapado.cxx.
References connectivity::evoab::pFields, and connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::ODatabaseMetaData::fillLiterals(), and connectivity::ado::ODatabaseMetaData::getSQLKeywords().
LockTypeEnum WpADORecordset::GetLockType | ( | ) |
Definition at line 680 of file Awrapado.cxx.
References eType, and connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::IsAtBOF | ( | ) | const |
Definition at line 780 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::IsAtEOF | ( | ) | const |
Definition at line 788 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::ODatabaseMetaData::fillLiterals(), and connectivity::ado::ODatabaseMetaData::getSQLKeywords().
bool WpADORecordset::Move | ( | sal_Int32 | nRows, |
VARIANT | aBmk | ||
) |
Definition at line 774 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::MoveFirst | ( | ) |
Definition at line 777 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::ODatabaseMetaData::fillLiterals(), and connectivity::ado::ODatabaseMetaData::getSQLKeywords().
bool WpADORecordset::MoveLast | ( | ) |
Definition at line 778 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::MoveNext | ( | ) |
Definition at line 775 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::ODatabaseMetaData::fillLiterals(), and connectivity::ado::ODatabaseMetaData::getSQLKeywords().
bool WpADORecordset::MovePrevious | ( | ) |
Definition at line 776 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::NextRecordset | ( | OLEVariant & | RecordsAffected, |
ADORecordset ** | ppiRset | ||
) |
Definition at line 828 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OStatement::executeBatch(), and connectivity::ado::OStatement_Base::getMoreResults().
bool WpADORecordset::Open | ( | VARIANT | Source, |
VARIANT | ActiveConnection, | ||
CursorTypeEnum | CursorType, | ||
LockTypeEnum | LockType, | ||
sal_Int32 | Options | ||
) |
Definition at line 668 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface, and Source.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
|
inline |
Definition at line 274 of file Awrapado.hxx.
References connectivity::ado::WpOLEBase< T >::operator=().
Referenced by WpADORecordset().
bool WpADORecordset::put_CacheSize | ( | sal_Int32 | _nRet | ) |
Definition at line 882 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
bool WpADORecordset::put_CursorType | ( | CursorTypeEnum | _nRet | ) |
Definition at line 858 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::put_LockType | ( | LockTypeEnum | _nRet | ) |
Definition at line 870 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::put_MaxRecords | ( | ADO_LONGPTR | _nRet | ) |
Definition at line 846 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OPreparedStatement::executeQuery(), and connectivity::ado::OStatement_Base::executeQuery().
void WpADORecordset::PutRefDataSource | ( | IUnknown * | pIUnknown | ) |
Definition at line 730 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OStatement_Base::assignRecordSet(), connectivity::ado::OStatement_Base::disposing(), and connectivity::ado::OStatement::executeBatch().
bool WpADORecordset::SetBookmark | ( | const OLEVariant & | pSafeAr | ) |
Definition at line 758 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::Supports | ( | CursorOptionEnum | CursorOptions | ) |
Definition at line 708 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
bool WpADORecordset::Update | ( | const OLEVariant & | FieldList, |
const OLEVariant & | Values | ||
) |
Definition at line 808 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface, and Values.
bool WpADORecordset::UpdateBatch | ( | AffectEnum | AffectRecords | ) |
Definition at line 888 of file Awrapado.cxx.
References connectivity::ado::WpOLEBase< ADORecordset >::pInterface.
Referenced by connectivity::ado::OStatement::executeBatch().