Version: 1.0.0
wxPostgresResultSetMetaData Class Reference

#include <postgresql_resultset_metadata.h>

+ Inheritance diagram for wxPostgresResultSetMetaData:

Detailed Description

Definition at line 6 of file postgresql_resultset_metadata.h.

Public Member Functions

 wxPostgresResultSetMetaData (wxDynamicPostgresInterface *pInterface, PGresult *pResult)
 
virtual ~wxPostgresResultSetMetaData ()
 
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

wxDynamicPostgresInterfacem_pInterface
 
PGresult * m_pResult
 

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

◆ wxPostgresResultSetMetaData()

wxPostgresResultSetMetaData::wxPostgresResultSetMetaData ( wxDynamicPostgresInterface pInterface,
PGresult *  pResult 
)

◆ ~wxPostgresResultSetMetaData()

virtual wxPostgresResultSetMetaData::~wxPostgresResultSetMetaData ( )
inlinevirtual

Definition at line 13 of file postgresql_resultset_metadata.h.

Member Function Documentation

◆ GetColumnCount()

virtual int wxPostgresResultSetMetaData::GetColumnCount ( )
virtual

Retrieve the number of columns in the result set.

Implements wxResultSetMetaData.

◆ GetColumnName()

virtual wxString wxPostgresResultSetMetaData::GetColumnName ( int  i)
virtual

Retrieve a column's name.

Implements wxResultSetMetaData.

◆ GetColumnSize()

virtual int wxPostgresResultSetMetaData::GetColumnSize ( int  i)
virtual

Retrieve a column's size.

Implements wxResultSetMetaData.

◆ GetColumnType()

virtual int wxPostgresResultSetMetaData::GetColumnType ( int  i)
virtual

Retrieve a column's type.

Implements wxResultSetMetaData.

Member Data Documentation

◆ m_pInterface

wxDynamicPostgresInterface* wxPostgresResultSetMetaData::m_pInterface
private

Definition at line 21 of file postgresql_resultset_metadata.h.

◆ m_pResult

PGresult* wxPostgresResultSetMetaData::m_pResult
private

Definition at line 22 of file postgresql_resultset_metadata.h.