#include <MyMySQLPPResult.h>
Definition at line 32 of file MyMySQLPPResult.h.
Public Member Functions | |
CMyMySQLPPResult (void) | |
Class constructor. | |
~CMyMySQLPPResult (void) | |
Class destructor. | |
void | Free (void) |
Frees up space allocated by this result set. | |
MYSQL_RES * | Detach (void) |
Detaches and returns the result set managed by this object. | |
void | Attach (MYSQL_RES *Result) |
Frees the current result set managed by this object and attaches a new one. | |
MYSQL_ROW_OFFSET | RowTell (void) |
Returns the current position of the row cursor for the last FetchRow(). Only use after CMyMySQLPPResult::StoreResult(), not CMyMySQLPPResult::UseResult(). | |
MYSQL_ROW_OFFSET | RowSeek (MYSQL_ROW_OFFSET Offset) |
Sets the row cursor to an arbitrary row in a query result set. | |
void | DataSeek (__int64 Offset) |
Seeks to an arbitrary row in a query result set. | |
BOOL | EndOfFile (void) |
Determines whether the last row of a result set has been read. | |
unsigned int | NumFields (void) |
Returns the number of columns in a result set. | |
__int64 | NumRows (void) |
Returns the number of rows in the result set. | |
BOOL | FetchRow (CMyMySQLPPRow *row) |
Retrieves the next row of a result set. | |
CMyMySQLPPRow | FetchRow (void) |
Retrieves the next row of a result set. | |
BOOL | FetchRow (CMyMySQLPPRow *row, __int64 offset) |
Retrieves the next row of a result set at a specific offset. | |
CMyMySQLPPRow | FetchRow (__int64 offset) |
Retrieves the next row of a result set at a specific offset. | |
CMyMySQLPPRow | operator[] (__int64 offset) |
Retrieves the next row of a result set at a specific offset. | |
unsigned long * | FetchLengths (void) |
Returns the lengths of the columns of the current row within a result set. | |
BOOL | FetchField (CMyMySQLPPField *field) |
Returns the definition of one column of a result set. | |
CMyMySQLPPField | FetchField (void) |
Returns the definition of one column of a result set. | |
BOOL | FetchField (CMyMySQLPPField *field, unsigned int fieldnr) |
Returns the definition of a specific column of a result set. | |
CMyMySQLPPField | FetchField (unsigned int fieldnr) |
Returns the definition of a specific column of a result set. | |
MYSQL_FIELD_OFFSET | FieldSeek (MYSQL_FIELD_OFFSET offset) |
Sets the field cursor to the given offset. The next call to FetchField() will retrieve the field definition of the column associated with that offset. | |
MYSQL_FIELD_OFFSET | FieldTell (void) |
Returns the position of the field cursor used for the last FetchField(). |
|
Class constructor.
Definition at line 33 of file MyMySQLPPResult.cpp. |
|
Class destructor.
Definition at line 39 of file MyMySQLPPResult.cpp. References Free(). |
|
Frees the current result set managed by this object and attaches a new one.
Definition at line 64 of file MyMySQLPPResult.cpp. References Free(). Referenced by CMyMySQLPPConnection::ListDatabases(), CMyMySQLPPConnection::ListFields(), CMyMySQLPPConnection::ListProcesses(), CMyMySQLPPConnection::ListTables(), CMyMySQLPPConnection::StoreResult(), and CMyMySQLPPConnection::UseResult(). |
|
Seeks to an arbitrary row in a query result set.
Definition at line 94 of file MyMySQLPPResult.cpp. Referenced by FetchRow(). |
|
Detaches and returns the result set managed by this object.
Definition at line 55 of file MyMySQLPPResult.cpp. |
|
Determines whether the last row of a result set has been read.
Definition at line 103 of file MyMySQLPPResult.cpp. |
|
Returns the definition of a specific column of a result set.
Definition at line 249 of file MyMySQLPPResult.cpp. |
|
Returns the definition of a specific column of a result set.
Definition at line 233 of file MyMySQLPPResult.cpp. References CMyMySQLPPField::Attach(), and CMyMySQLPPField::Free(). |
|
Returns the definition of one column of a result set.
Definition at line 218 of file MyMySQLPPResult.cpp. |
|
Returns the definition of one column of a result set.
Definition at line 203 of file MyMySQLPPResult.cpp. References CMyMySQLPPField::Attach(), and CMyMySQLPPField::Free(). |
|
Returns the lengths of the columns of the current row within a result set.
Definition at line 192 of file MyMySQLPPResult.cpp. |
|
Retrieves the next row of a result set at a specific offset.
Definition at line 174 of file MyMySQLPPResult.cpp. References DataSeek(), and FetchRow(). |
|
Retrieves the next row of a result set at a specific offset.
Definition at line 164 of file MyMySQLPPResult.cpp. References DataSeek(), and FetchRow(). |
|
Retrieves the next row of a result set.
Definition at line 149 of file MyMySQLPPResult.cpp. Referenced by FetchRow(), and operator[](). |
|
Retrieves the next row of a result set.
Definition at line 134 of file MyMySQLPPResult.cpp. References CMyMySQLPPRow::Attach(), and CMyMySQLPPRow::Free(). |
|
Sets the field cursor to the given offset. The next call to FetchField() will retrieve the field definition of the column associated with that offset.
Definition at line 263 of file MyMySQLPPResult.cpp. |
|
Returns the position of the field cursor used for the last FetchField().
Definition at line 273 of file MyMySQLPPResult.cpp. |
|
Frees up space allocated by this result set.
Definition at line 45 of file MyMySQLPPResult.cpp. Referenced by Attach(), CMyMySQLPPConnection::ListDatabases(), CMyMySQLPPConnection::ListFields(), CMyMySQLPPConnection::ListProcesses(), CMyMySQLPPConnection::ListTables(), CMyMySQLPPConnection::StoreResult(), CMyMySQLPPConnection::UseResult(), and ~CMyMySQLPPResult(). |
|
Returns the number of columns in a result set.
Definition at line 113 of file MyMySQLPPResult.cpp. |
|
Returns the number of rows in the result set.
Definition at line 123 of file MyMySQLPPResult.cpp. |
|
Retrieves the next row of a result set at a specific offset.
Definition at line 184 of file MyMySQLPPResult.cpp. References FetchRow(). |
|
Sets the row cursor to an arbitrary row in a query result set.
Definition at line 84 of file MyMySQLPPResult.cpp. |
|
Returns the current position of the row cursor for the last FetchRow(). Only use after CMyMySQLPPResult::StoreResult(), not CMyMySQLPPResult::UseResult().
Definition at line 73 of file MyMySQLPPResult.cpp. |