Version: 1.0.0
include
wx
database
tds
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
8
class
wxTdsResultSetMetaData
:
public
wxResultSetMetaData
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
:
20
void
CreateResultSetMetaData
();
21
22
ArrayOfTdsColumns
m_Columns
;
23
};
24
25
#endif//_WX_DATABASE_TDS_RESULT_SET_METADATA_H_
wxTdsResultSetMetaData::GetColumnName
virtual wxString GetColumnName(int i)
Retrieve a column's name.
wxprec.h
wxTdsResultSetMetaData::m_Columns
ArrayOfTdsColumns m_Columns
Definition:
tds_resultset_metadata.h:22
wxTdsResultSetMetaData
Definition:
tds_resultset_metadata.h:8
wxTdsResultSetMetaData::GetColumnCount
virtual int GetColumnCount()
Retrieve the number of columns in the result set.
wxTdsResultSetMetaData::GetColumnSize
virtual int GetColumnSize(int i)
Retrieve a column's size.
wxTdsResultSetMetaData::CreateResultSetMetaData
void CreateResultSetMetaData()
wxTdsResultSetMetaData::GetColumnType
virtual int GetColumnType(int i)
Retrieve a column's type.
wxTdsColumnData
Definition:
tds_columndata.h:6
wxTdsResultSetMetaData::wxTdsResultSetMetaData
wxTdsResultSetMetaData(TDSRESULTINFO *pInfo)
wxResultSetMetaData
Definition:
resultset_metadata.h:6
WX_DECLARE_OBJARRAY
WX_DECLARE_OBJARRAY(wxTdsColumnData, ArrayOfTdsColumns)
Generated on Mon Aug 19 2019 16:14:37 for wxDatabase by
Doxygen
1.8.15