NCBI C++ ToolKit
Protected Member Functions | Friends | List of all members
CODBC_ParamResult Class Reference

Search Toolkit Book for CODBC_ParamResult

#include <dbapi/driver/odbc/interfaces.hpp>

+ Inheritance diagram for CODBC_ParamResult:
+ Collaboration diagram for CODBC_ParamResult:

Protected Member Functions

 CODBC_ParamResult (CStatementBase &stmt, SQLSMALLINT nof_cols)
virtual ~CODBC_ParamResult (void)
virtual EDB_ResType ResultType (void) const
 Get type of the result. More...
- Protected Member Functions inherited from CODBC_RowResult
 CODBC_RowResult (CStatementBase &stmt, SQLSMALLINT nof_cols, SQLLEN *row_count)
virtual ~CODBC_RowResult (void)
virtual bool Fetch (void)
 Fetch next row. More...
virtual int CurrentItemNo (void) const
 Return current item number we can retrieve (0,1,...) Return "-1" if no more items left (or available) to read. More...
virtual int GetColumnNum (void) const
 Return number of columns in the recordset. More...
virtual CDB_ObjectGetItem (CDB_Object *item_buf=0, I_Result::EGetItem policy=I_Result::eAppendLOB)
 Get a result item (you can use either GetItem or ReadItem). More...
virtual size_t ReadItem (void *buffer, size_t buffer_size, bool *is_null=0)
 Read a result item body (for BLOB columns, mostly). More...
virtual I_BlobDescriptorGetBlobDescriptor (void)
 Get a descriptor for a BLOB column (for SendData). More...
CDB_BlobDescriptorGetBlobDescriptor (int item_no, const string &cond)
virtual bool SkipItem (void)
 Skip result item. More...
int xGetData (SQLSMALLINT target_type, SQLPOINTER buffer, SQLINTEGER buffer_size, bool *more=NULL)
ssize_t x_GetVarLenData (SQLSMALLINT target_type, TItemBuffer &buffer, SQLINTEGER buffer_size)
CDB_Objectx_LoadItem (I_Result::EGetItem policy, CDB_Object *item_buf)
CDB_Objectx_MakeItem (void)
SQLHSTMT GetHandle (void) const
void ReportErrors (void)
void ReportError (CDB_Exception &ex) const
const CODBC_Connection::TDbgInfoGetDbgInfo (void) const
const CDBParamsGetLastParams (void) const
const CODBC_ConnectionGetConnection (void) const
void Close (void)
bool CheckSIENoD_Text (CDB_Stream *val)
bool CheckSIENoD_WText (CDB_Stream *val)
bool CheckSIENoD_Binary (CDB_Stream *val)


class CODBC_RPCCmd
class CODBC_Connection

Additional Inherited Members

- Public Member Functions inherited from CODBC_RowResult
CStatementBaseGetStatementBase (void)
const CStatementBaseGetStatementBase (void) const
EEncoding GetClientEncoding (void) const
- Public Member Functions inherited from impl::CResult
 CResult (void)
virtual ~CResult (void)
virtual const CDBParamsGetDefineParams (void) const
I_BlobDescriptorGetImageOrTextDescriptor (void)
void AttachTo (CDB_Result *interface)
const CDB_ParamsGetDefineParamsImpl (void) const
CDB_ParamsGetDefineParamsImpl (void)
- Protected Types inherited from CODBC_RowResult
typedef AutoPtr< char, ArrayDeleter< char > > TItemBuffer
- Protected Attributes inherited from impl::CResult
CDB_Params m_DefineParams
CCachedRowInfo m_CachedRowInfo

Detailed Description

Definition at line 861 of file interfaces.hpp.

Constructor & Destructor Documentation

◆ CODBC_ParamResult()

CODBC_ParamResult::CODBC_ParamResult ( CStatementBase stmt,
SQLSMALLINT  nof_cols 

Definition at line 1303 of file result.cpp.

◆ ~CODBC_ParamResult()

CODBC_ParamResult::~CODBC_ParamResult ( void  )

Definition at line 1310 of file result.cpp.

Member Function Documentation

◆ ResultType()

EDB_ResType CODBC_ParamResult::ResultType ( void  ) const

Get type of the result.

Reimplemented from CODBC_RowResult.

Definition at line 1314 of file result.cpp.

References eDB_ParamResult.

Friends And Related Function Documentation

◆ CODBC_Connection

friend class CODBC_Connection

Definition at line 864 of file interfaces.hpp.


friend class CODBC_RPCCmd

Definition at line 863 of file interfaces.hpp.

The documentation for this class was generated from the following files:
Modified on Fri May 24 14:51:22 2024 by rev. 669887