Version: 1.0.0
wxMysqlResultSetMetaData Class Reference

#include <mysql_resultset_metadata.h>

+ Inheritance diagram for wxMysqlResultSetMetaData:

Detailed Description

Definition at line 6 of file mysql_resultset_metadata.h.

Public Member Functions

 wxMysqlResultSetMetaData (wxMysqlDynamicInterface *pInterface, MYSQL_RES *pMetaData)
 
virtual ~wxMysqlResultSetMetaData ()
 
virtual int GetColumnType (int i)
 Retrieve a column's type. More...
 
virtual int GetColumnSize (int i)
 Retrieve a column's size. More...
 
virtual wxString GetColumnName (int i)
 Retrieve a column's name. More...
 
virtual int GetColumnCount ()
 Retrieve the number of columns in the result set. More...
 
- Public Member Functions inherited from wxDatabaseStringConverter
 wxDatabaseStringConverter ()
 
 wxDatabaseStringConverter (const wxChar *charset)
 
virtual ~wxDatabaseStringConverter ()
 
void SetEncoding (wxFontEncoding encoding)
 
void SetEncoding (const wxCSConv *conv)
 
const wxCSConv * GetEncoding ()
 
virtual const wxCharBuffer ConvertToUnicodeStream (const wxString &inputString)
 
virtual size_t GetEncodedStreamLength (const wxString &inputString)
 
virtual wxString ConvertFromUnicodeStream (const char *inputBuffer)
 
virtual wxString ConvertFromUnicodeStream (const wxChar *inputBuffer)
 

Private Member Functions

MYSQL_FIELD * GetColumn (int nField)
 

Private Attributes

wxMysqlDynamicInterfacem_pInterface
 
MYSQL_RES * m_pMetaData
 

Additional Inherited Members

- Static Public Member Functions inherited from wxDatabaseStringConverter
static const wxCharBuffer ConvertToUnicodeStream (const wxString &inputString, const char *encoding)
 
static wxString ConvertFromUnicodeStream (const char *inputBuffer, const char *encoding)
 
static size_t GetEncodedStreamLength (const wxString &inputString, const char *encoding)
 
static wxString ConvertFromUnicodeStream (const wxChar *inputBuffer, const char *encoding)
 

Constructor & Destructor Documentation

◆ wxMysqlResultSetMetaData()

wxMysqlResultSetMetaData::wxMysqlResultSetMetaData ( wxMysqlDynamicInterface pInterface,
MYSQL_RES *  pMetaData 
)

◆ ~wxMysqlResultSetMetaData()

virtual wxMysqlResultSetMetaData::~wxMysqlResultSetMetaData ( )
virtual

Member Function Documentation

◆ GetColumn()

MYSQL_FIELD* wxMysqlResultSetMetaData::GetColumn ( int  nField)
private

◆ GetColumnCount()

virtual int wxMysqlResultSetMetaData::GetColumnCount ( )
virtual

Retrieve the number of columns in the result set.

Implements wxResultSetMetaData.

◆ GetColumnName()

virtual wxString wxMysqlResultSetMetaData::GetColumnName ( int  i)
virtual

Retrieve a column's name.

Implements wxResultSetMetaData.

◆ GetColumnSize()

virtual int wxMysqlResultSetMetaData::GetColumnSize ( int  i)
virtual

Retrieve a column's size.

Implements wxResultSetMetaData.

◆ GetColumnType()

virtual int wxMysqlResultSetMetaData::GetColumnType ( int  i)
virtual

Retrieve a column's type.

Implements wxResultSetMetaData.

Member Data Documentation

◆ m_pInterface

wxMysqlDynamicInterface* wxMysqlResultSetMetaData::m_pInterface
private

Definition at line 23 of file mysql_resultset_metadata.h.

◆ m_pMetaData

MYSQL_RES* wxMysqlResultSetMetaData::m_pMetaData
private

Definition at line 24 of file mysql_resultset_metadata.h.