MDBL Library
|
#include <ODBCCursor.hpp>
Public Member Functions | |
CODBCCursor (CODBCSource &oSource) | |
virtual | ~CODBCCursor () |
virtual void | Open (const tchar *pszStmt, SQLHSTMT hStmt) |
virtual void | Close () |
virtual bool | IsOpen () const |
virtual size_t | NumColumns () const |
virtual SQLColumn & | Column (size_t n) const |
virtual bool | Fetch () |
virtual void | GetRow (CRow &oRow) |
Protected Types | |
enum | { FETCH_SIZE = 10 } |
Protected Member Functions | |
virtual void | Bind () |
Protected Attributes | |
CODBCSource & | m_oSource |
CString | m_strStmt |
SQLHSTMT | m_hStmt |
size_t | m_nColumns |
SQLColumn * | m_pColumns |
size_t | m_nRowLen |
size_t | m_nTotalLen |
size_t * | m_pOffsets |
byte * | m_pRowData |
SQLUSMALLINT * | m_pRowStatus |
bool | m_bDoneBind |
SQLUINTEGER | m_nFetched |
SQLUINTEGER | m_nCurRow |
Private Member Functions | |
CODBCCursor (const CODBCCursor &) | |
CODBCCursor & | operator= (const CODBCCursor &) |
CODBCCursor::CODBCCursor | ( | CODBCSource & | oSource | ) |
CODBCCursor::~CODBCCursor | ( | ) | [virtual] |
CODBCCursor::CODBCCursor | ( | const CODBCCursor & | ) | [private] |
void CODBCCursor::Open | ( | const tchar * | pszStmt, |
SQLHSTMT | hStmt | ||
) | [virtual] |
void CODBCCursor::Close | ( | ) | [virtual] |
bool CODBCCursor::IsOpen | ( | ) | const [virtual] |
size_t CODBCCursor::NumColumns | ( | ) | const [virtual] |
Implements CSQLCursor.
SQLColumn & CODBCCursor::Column | ( | size_t | n | ) | const [virtual] |
Implements CSQLCursor.
bool CODBCCursor::Fetch | ( | ) | [virtual] |
Implements CSQLCursor.
void CODBCCursor::GetRow | ( | CRow & | oRow | ) | [virtual] |
Implements CSQLCursor.
void CODBCCursor::Bind | ( | ) | [protected, virtual] |
CODBCCursor& CODBCCursor::operator= | ( | const CODBCCursor & | ) | [private] |
CODBCSource& CODBCCursor::m_oSource [protected] |
CString CODBCCursor::m_strStmt [protected] |
SQLHSTMT CODBCCursor::m_hStmt [protected] |
size_t CODBCCursor::m_nColumns [protected] |
SQLColumn* CODBCCursor::m_pColumns [protected] |
size_t CODBCCursor::m_nRowLen [protected] |
size_t CODBCCursor::m_nTotalLen [protected] |
size_t* CODBCCursor::m_pOffsets [protected] |
byte* CODBCCursor::m_pRowData [protected] |
SQLUSMALLINT* CODBCCursor::m_pRowStatus [protected] |
bool CODBCCursor::m_bDoneBind [protected] |
SQLUINTEGER CODBCCursor::m_nFetched [protected] |
SQLUINTEGER CODBCCursor::m_nCurRow [protected] |