#include <DatabaseResultSet.h>
Inheritance diagram for DatabaseResultSet:

Public Member Functions | |
| DatabaseResultSet () | |
| Constructor. | |
| virtual | ~DatabaseResultSet () |
| Destructor. | |
| virtual bool | Next ()=0 |
| Move to the next record in the result set. | |
| virtual void | Close ()=0 |
| Close the result set (call DatabaseLayer::CloseResultSet() instead on the result set). | |
| virtual int | LookupField (const wxString &strField)=0 |
| virtual int | GetResultInt (int nField)=0 |
| Retrieve an integer from the result set by the 1-based field index. | |
| virtual wxString | GetResultString (int nField)=0 |
| Retrieve a wxString from the result set by the 1-based field index. | |
| virtual long | GetResultLong (int nField)=0 |
| Retrieve a long from the result set by the 1-based field index. | |
| virtual bool | GetResultBool (int nField)=0 |
| Retrieve a boolean from the result set by the 1-based field index. | |
| virtual wxDateTime | GetResultDate (int nField)=0 |
| Retrieve a wxDateTime from the result set by the 1-based field index. | |
| virtual void * | GetResultBlob (int nField, wxMemoryBuffer &Buffer)=0 |
| Retrieve a BLOB from the result set by the 1-based field index. | |
| virtual double | GetResultDouble (int nField)=0 |
| Retrieve a double from the result set by the 1-based field index. | |
| virtual bool | IsFieldNull (int nField)=0 |
| Check if a field in the current result set record is NULL. | |
| virtual int | GetResultInt (const wxString &strField) |
| Retrieve an integer from the result set by the result set column name. | |
| virtual wxString | GetResultString (const wxString &strField) |
| Retrieve a wxString from the result set by the result set column name. | |
| virtual long | GetResultLong (const wxString &strField) |
| Retrieve a long from the result set by the result set column name. | |
| virtual bool | GetResultBool (const wxString &strField) |
| Retrieve a boolean from the result set by the result set column name. | |
| virtual wxDateTime | GetResultDate (const wxString &strField) |
| Retrieve a wxDateTime from the result set by the result set column name. | |
| virtual void * | GetResultBlob (const wxString &strField, wxMemoryBuffer &Buffer) |
| Retrieve a BLOB from the result set by the result set column name. | |
| virtual double | GetResultDouble (const wxString &strField) |
| Retrieve a double from the result set by the result set column name. | |
| virtual bool | IsFieldNull (const wxString &strField) |
| Check if a field in the current result set record is NULL. | |
| virtual ResultSetMetaData * | GetMetaData ()=0 |
| Retrieve the MetaData associated with this result set. | |
| virtual bool | CloseMetaData (ResultSetMetaData *pMetaData) |
| Close MetaData previously returned by the result set. | |
Protected Member Functions | |
| void | CloseMetaData () |
| Close all meta data objects that have been generated but not yet closed. | |
| void | LogMetaDataForCleanup (ResultSetMetaData *pMetaData) |
| Add meta data object pointer to the list for "garbage collection". | |
|
|
Constructor.
Definition at line 5 of file DatabaseResultSet.cpp. |
|
|
Destructor.
Definition at line 11 of file DatabaseResultSet.cpp. References CloseMetaData(). |
|
|
Close the result set (call DatabaseLayer::CloseResultSet() instead on the result set).
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. |
|
|
Close all meta data objects that have been generated but not yet closed.
Definition at line 97 of file DatabaseResultSet.cpp. Referenced by SqliteResultSet::Close(), PostgresResultSet::Close(), OdbcResultSet::Close(), MysqlPreparedStatementResultSet::Close(), FirebirdResultSet::Close(), and ~DatabaseResultSet(). |
|
|
Close MetaData previously returned by the result set.
Definition at line 110 of file DatabaseResultSet.cpp. |
|
|
Retrieve the MetaData associated with this result set.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. |
|
||||||||||||
|
Retrieve a BLOB from the result set by the result set column name.
Definition at line 67 of file DatabaseResultSet.cpp. References GetResultBlob(), and LookupField(). |
|
||||||||||||
|
Retrieve a BLOB from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultBlob(). |
|
|
Retrieve a boolean from the result set by the result set column name.
Definition at line 47 of file DatabaseResultSet.cpp. References GetResultBool(), and LookupField(). |
|
|
Retrieve a boolean from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultBool(). |
|
|
Retrieve a wxDateTime from the result set by the result set column name.
Definition at line 57 of file DatabaseResultSet.cpp. References GetResultDate(), and LookupField(). |
|
|
Retrieve a wxDateTime from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultDate(). |
|
|
Retrieve a double from the result set by the result set column name.
Definition at line 77 of file DatabaseResultSet.cpp. References GetResultDouble(), and LookupField(). |
|
|
Retrieve a double from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultDouble(). |
|
|
Retrieve an integer from the result set by the result set column name.
Definition at line 17 of file DatabaseResultSet.cpp. References GetResultInt(), and LookupField(). |
|
|
Retrieve an integer from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultInt(). |
|
|
Retrieve a long from the result set by the result set column name.
Definition at line 37 of file DatabaseResultSet.cpp. References GetResultLong(), and LookupField(). |
|
|
Retrieve a long from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultLong(). |
|
|
Retrieve a wxString from the result set by the result set column name.
Definition at line 27 of file DatabaseResultSet.cpp. References GetResultString(), and LookupField(). |
|
|
Retrieve a wxString from the result set by the 1-based field index.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by GetResultString(). |
|
|
Check if a field in the current result set record is NULL.
Definition at line 87 of file DatabaseResultSet.cpp. References IsFieldNull(), and LookupField(). |
|
|
Check if a field in the current result set record is NULL.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by IsFieldNull(). |
|
|
Add meta data object pointer to the list for "garbage collection".
Definition at line 87 of file DatabaseResultSet.h. Referenced by SqliteResultSet::GetMetaData(), PostgresResultSet::GetMetaData(), OdbcResultSet::GetMetaData(), MysqlPreparedStatementResultSet::GetMetaData(), and FirebirdResultSet::GetMetaData(). |
|
|
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. Referenced by OdbcResultSet::GetFieldLength(), GetResultBlob(), GetResultBool(), GetResultDate(), GetResultDouble(), GetResultInt(), GetResultLong(), GetResultString(), and IsFieldNull(). |
|
|
Move to the next record in the result set.
Implemented in FirebirdResultSet, MysqlPreparedStatementResultSet, OdbcResultSet, OracleResultSet, PostgresResultSet, and SqliteResultSet. |
1.4.1