Version: 1.0.0
include
wx
database
mysql
mysql_resultset_metadata.h
Go to the documentation of this file.
1
#ifndef _WX_DATABASE_MYSQL_RESULT_SET_METADATA_H_
2
#define _WX_DATABASE_MYSQL_RESULT_SET_METADATA_H_
3
4
#include "
wx/database/wxprec.h
"
5
6
class
wxMysqlResultSetMetaData
:
public
wxResultSetMetaData
7
{
8
public
:
9
// ctor
10
wxMysqlResultSetMetaData
(
wxMysqlDynamicInterface
* pInterface, MYSQL_RES* pMetaData);
11
12
// dtor
13
virtual
~wxMysqlResultSetMetaData
();
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
MYSQL_FIELD*
GetColumn
(
int
nField);
22
23
wxMysqlDynamicInterface
*
m_pInterface
;
24
MYSQL_RES*
m_pMetaData
;
25
};
26
27
#endif//_WX_DATABASE_MYSQL_RESULT_SET_METADATA_H_
wxMysqlResultSetMetaData::~wxMysqlResultSetMetaData
virtual ~wxMysqlResultSetMetaData()
wxprec.h
wxMysqlResultSetMetaData::m_pInterface
wxMysqlDynamicInterface * m_pInterface
Definition:
mysql_resultset_metadata.h:23
wxMysqlResultSetMetaData::m_pMetaData
MYSQL_RES * m_pMetaData
Definition:
mysql_resultset_metadata.h:24
wxMysqlResultSetMetaData::GetColumnType
virtual int GetColumnType(int i)
Retrieve a column's type.
wxMysqlResultSetMetaData::GetColumnSize
virtual int GetColumnSize(int i)
Retrieve a column's size.
wxMysqlDynamicInterface
Definition:
mysql_interface.h:44
wxMysqlResultSetMetaData::GetColumnName
virtual wxString GetColumnName(int i)
Retrieve a column's name.
wxMysqlResultSetMetaData::GetColumnCount
virtual int GetColumnCount()
Retrieve the number of columns in the result set.
wxMysqlResultSetMetaData::GetColumn
MYSQL_FIELD * GetColumn(int nField)
wxMysqlResultSetMetaData::wxMysqlResultSetMetaData
wxMysqlResultSetMetaData(wxMysqlDynamicInterface *pInterface, MYSQL_RES *pMetaData)
wxResultSetMetaData
Definition:
resultset_metadata.h:6
wxMysqlResultSetMetaData
Definition:
mysql_resultset_metadata.h:6
Generated on Mon Aug 19 2019 16:14:36 for wxDatabase by
Doxygen
1.8.15