1 #ifndef _WX_DATABASE_ODBC_RESULT_SET_H_ 2 #define _WX_DATABASE_ODBC_RESULT_SET_H_ 32 virtual void*
GetResultBlob(
int nField, wxMemoryBuffer& Buffer);
65 #endif//_WX_DATABASE_ODBC_RESULT_SET_H_ StringToIntMap m_FieldLookupMap
virtual void Close()
Close the result set (call wxDatabase::CloseResultSet() instead on the result set)
IntegerSet m_RetrievedValues
virtual wxResultSetMetaData * GetMetaData()
Retrieve the MetaData associated with this result set.
virtual bool IsFieldNull(int nField)
Check if a field in the current result set record is NULL.
virtual long GetResultLong(int nField)
Retrieve a long from the result set by the 1-based field index.
virtual void * GetResultBlob(int nField, wxMemoryBuffer &Buffer)
Retrieve a BLOB from the result set by the 1-based field index.
WX_DECLARE_OBJARRAY(wxVariant, ValuesArray)
wxOdbcPreparedStatement * m_pStatement
void RetrieveFieldData(int nField)
ValuesArray m_fieldValues
virtual bool Next()
Move to the next record in the result set.
WX_DECLARE_HASH_MAP(int, wxMemoryBuffer, wxIntegerHash, wxIntegerEqual, BlobMap)
wxOdbcInterface * m_pInterface
WX_DECLARE_HASH_SET(int, wxIntegerHash, wxIntegerEqual, IntegerSet)
virtual double GetResultDouble(int nField)
Retrieve a double from the result set by the 1-based field index.
virtual wxString GetResultString(int nField)
Retrieve a wxString from the result set by the 1-based field index.
virtual bool GetResultBool(int nField)
Retrieve a boolean from the result set by the 1-based field index.
virtual wxDateTime GetResultDate(int nField)
Retrieve a wxDateTime from the result set by the 1-based field index.
virtual int LookupField(const wxString &strField)
virtual int GetResultInt(int nField)
Retrieve an integer from the result set by the 1-based field index.
SQLHSTMT m_pOdbcStatement
wxOdbcResultSet(wxOdbcInterface *pInterface)
virtual ~wxOdbcResultSet()
void InterpretErrorCodes(long nCode, SQLHSTMT stmth_ptr=NULL)
virtual int GetFieldLength(int nField)