Version: 1.0.0
odbc_resultset_metadata.h
Go to the documentation of this file.
1 #ifndef _WX_DATABASE_ODBC_RESULT_SET_METADATA_H_
2 #define _WX_DATABASE_ODBC_RESULT_SET_METADATA_H_
3 
4 #include "wx/database/wxprec.h"
5 
7 {
8 public:
9  // ctor
10  wxOdbcResultSetMetaData(wxOdbcInterface* pInterface, SQLHSTMT sqlOdbcStatement);
11 
12  // dtor
14 
15  virtual int GetColumnType(int i);
16  virtual int GetColumnSize(int i);
17  virtual wxString GetColumnName(int i);
18  virtual int GetColumnCount();
19 
20 private:
22  SQLHSTMT m_pOdbcStatement;
23 };
24 
25 #endif//_WX_DATABASE_ODBC_RESULT_SET_METADATA_H_
virtual int GetColumnType(int i)
Retrieve a column's type.
virtual int GetColumnCount()
Retrieve the number of columns in the result set.
virtual wxString GetColumnName(int i)
Retrieve a column's name.
virtual int GetColumnSize(int i)
Retrieve a column's size.
wxOdbcResultSetMetaData(wxOdbcInterface *pInterface, SQLHSTMT sqlOdbcStatement)