1 #ifndef _WX_DATABASE_RESULT_SET_H_ 2 #define _WX_DATABASE_RESULT_SET_H_ 19 virtual bool Next() = 0;
21 virtual void Close() = 0;
23 virtual int LookupField(
const wxString& strField) = 0;
27 virtual int GetResultInt(
int nField) = 0;
29 virtual wxString GetResultString(
int nField) = 0;
31 virtual long GetResultLong(
int nField) = 0;
33 virtual bool GetResultBool(
int nField) = 0;
35 virtual wxDateTime GetResultDate(
int nField) = 0;
37 virtual void* GetResultBlob(
int nField, wxMemoryBuffer& Buffer) = 0;
39 virtual double GetResultDouble(
int nField) = 0;
41 virtual bool IsFieldNull(
int nField) = 0;
44 virtual int GetResultInt(
const wxString& strField);
46 virtual wxString GetResultString(
const wxString& strField);
48 virtual long GetResultLong(
const wxString& strField);
50 virtual bool GetResultBool(
const wxString& strField);
52 virtual wxDateTime GetResultDate(
const wxString& strField);
54 virtual void* GetResultBlob(
const wxString& strField, wxMemoryBuffer& Buffer);
56 virtual double GetResultDouble(
const wxString& strField);
58 virtual bool IsFieldNull(
const wxString& strField);
76 #endif//_WX_DATABASE_RESULT_SET_H_
void LogMetaDataForCleanup(wxResultSetMetaData *pMetaData)
Add meta data object pointer to the list for "garbage collection".
wxMetaDataHashSet m_MetaData
WX_DECLARE_STRING_HASH_MAP(int, StringToIntMap)
WX_DECLARE_HASH_SET(wxResultSetMetaData *, wxPointerHash, wxPointerEqual, wxMetaDataHashSet)
#define WXDLLIMPEXP_DATABASE