Version: 1.0.0
tds_resultset_metadata.h
Go to the documentation of this file.
1 #ifndef _WX_DATABASE_TDS_RESULT_SET_METADATA_H_
2 #define _WX_DATABASE_TDS_RESULT_SET_METADATA_H_
3 
4 #include "wx/database/wxprec.h"
5 
6 WX_DECLARE_OBJARRAY(wxTdsColumnData, ArrayOfTdsColumns);
7 
9 {
10 public:
11  // ctor
12  wxTdsResultSetMetaData(TDSRESULTINFO* pInfo);
13 
14  virtual int GetColumnType(int i);
15  virtual int GetColumnSize(int i);
16  virtual wxString GetColumnName(int i);
17  virtual int GetColumnCount();
18 
19 private:
21 
22  ArrayOfTdsColumns m_Columns;
23 };
24 
25 #endif//_WX_DATABASE_TDS_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.
virtual int GetColumnSize(int i)
Retrieve a column's size.
virtual int GetColumnType(int i)
Retrieve a column's type.
wxTdsResultSetMetaData(TDSRESULTINFO *pInfo)
WX_DECLARE_OBJARRAY(wxTdsColumnData, ArrayOfTdsColumns)