Version: 1.0.0
sqlite_resultset_metatdata.h
Go to the documentation of this file.
1 #ifndef _WX_DATABASE_SQLITE_RESULT_SET_METADATA_H_
2 #define _WX_DATABASE_SQLITE_RESULT_SET_METADATA_H_
3 
4 #include "wx/database/wxprec.h"
5 
7 {
8 public:
9  // ctor
10  wxSqliteResultSetMetaData(sqlite3_stmt* pStmt);
11 
12  virtual int GetColumnType(int i);
13  virtual int GetColumnSize(int i);
14  virtual wxString GetColumnName(int i);
15  virtual int GetColumnCount();
16 
17 private:
18  sqlite3_stmt* m_pSqliteStatement;
19 };
20 
21 #endif//_WX_DATABASE_SQLITE_RESULT_SET_METADATA_H_
virtual wxString GetColumnName(int i)
Retrieve a column's name.
virtual int GetColumnCount()
Retrieve the number of columns in the result set.
wxSqliteResultSetMetaData(sqlite3_stmt *pStmt)
virtual int GetColumnSize(int i)
Retrieve a column's size.
virtual int GetColumnType(int i)
Retrieve a column's type.