Version: 1.0.0
include
wx
database
odbc
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
6
class
wxOdbcResultSetMetaData
:
public
wxResultSetMetaData
7
{
8
public
:
9
// ctor
10
wxOdbcResultSetMetaData
(
wxOdbcInterface
* pInterface, SQLHSTMT sqlOdbcStatement);
11
12
// dtor
13
virtual
~wxOdbcResultSetMetaData
() { }
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
:
21
wxOdbcInterface
*
m_pInterface
;
22
SQLHSTMT
m_pOdbcStatement
;
23
};
24
25
#endif//_WX_DATABASE_ODBC_RESULT_SET_METADATA_H_
wxprec.h
wxOdbcResultSetMetaData::GetColumnType
virtual int GetColumnType(int i)
Retrieve a column's type.
wxOdbcResultSetMetaData
Definition:
odbc_resultset_metadata.h:6
wxOdbcInterface
Definition:
odbc_inteface.h:47
wxOdbcResultSetMetaData::~wxOdbcResultSetMetaData
virtual ~wxOdbcResultSetMetaData()
Definition:
odbc_resultset_metadata.h:13
wxOdbcResultSetMetaData::m_pOdbcStatement
SQLHSTMT m_pOdbcStatement
Definition:
odbc_resultset_metadata.h:22
wxOdbcResultSetMetaData::GetColumnCount
virtual int GetColumnCount()
Retrieve the number of columns in the result set.
wxOdbcResultSetMetaData::GetColumnName
virtual wxString GetColumnName(int i)
Retrieve a column's name.
wxOdbcResultSetMetaData::m_pInterface
wxOdbcInterface * m_pInterface
Definition:
odbc_resultset_metadata.h:21
wxOdbcResultSetMetaData::GetColumnSize
virtual int GetColumnSize(int i)
Retrieve a column's size.
wxResultSetMetaData
Definition:
resultset_metadata.h:6
wxOdbcResultSetMetaData::wxOdbcResultSetMetaData
wxOdbcResultSetMetaData(wxOdbcInterface *pInterface, SQLHSTMT sqlOdbcStatement)
Generated on Mon Aug 19 2019 16:14:36 for wxDatabase by
Doxygen
1.8.15