Version: 1.0.0
wxOdbcResultSetMetaData Class Reference

#include <odbc_resultset_metadata.h>

+ Inheritance diagram for wxOdbcResultSetMetaData:

Detailed Description

Definition at line 6 of file odbc_resultset_metadata.h.

Public Member Functions

 wxOdbcResultSetMetaData (wxOdbcInterface *pInterface, SQLHSTMT sqlOdbcStatement)
 
virtual ~wxOdbcResultSetMetaData ()
 
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 Attributes

wxOdbcInterfacem_pInterface
 
SQLHSTMT m_pOdbcStatement
 

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

◆ wxOdbcResultSetMetaData()

wxOdbcResultSetMetaData::wxOdbcResultSetMetaData ( wxOdbcInterface pInterface,
SQLHSTMT  sqlOdbcStatement 
)

◆ ~wxOdbcResultSetMetaData()

virtual wxOdbcResultSetMetaData::~wxOdbcResultSetMetaData ( )
inlinevirtual

Definition at line 13 of file odbc_resultset_metadata.h.

Member Function Documentation

◆ GetColumnCount()

virtual int wxOdbcResultSetMetaData::GetColumnCount ( )
virtual

Retrieve the number of columns in the result set.

Implements wxResultSetMetaData.

◆ GetColumnName()

virtual wxString wxOdbcResultSetMetaData::GetColumnName ( int  i)
virtual

Retrieve a column's name.

Implements wxResultSetMetaData.

◆ GetColumnSize()

virtual int wxOdbcResultSetMetaData::GetColumnSize ( int  i)
virtual

Retrieve a column's size.

Implements wxResultSetMetaData.

◆ GetColumnType()

virtual int wxOdbcResultSetMetaData::GetColumnType ( int  i)
virtual

Retrieve a column's type.

Implements wxResultSetMetaData.

Member Data Documentation

◆ m_pInterface

wxOdbcInterface* wxOdbcResultSetMetaData::m_pInterface
private

Definition at line 21 of file odbc_resultset_metadata.h.

◆ m_pOdbcStatement

SQLHSTMT wxOdbcResultSetMetaData::m_pOdbcStatement
private

Definition at line 22 of file odbc_resultset_metadata.h.