Version: 1.0.0
wxOdbcParameter Class Reference

#include <odbc_param.h>

+ Inheritance diagram for wxOdbcParameter:

Detailed Description

Definition at line 6 of file odbc_param.h.

Public Types

enum  {
  PARAM_STRING = 0, PARAM_INT, PARAM_DOUBLE, PARAM_DATETIME,
  PARAM_BOOL, PARAM_BLOB, PARAM_NULL
}
 

Public Member Functions

 wxOdbcParameter ()
 
 wxOdbcParameter (const wxString &strValue)
 
 wxOdbcParameter (int nValue)
 
 wxOdbcParameter (double dblValue)
 
 wxOdbcParameter (bool bValue)
 
 wxOdbcParameter (const wxDateTime &dateValue)
 
 wxOdbcParameter (const void *pData, long nDataLength)
 
virtual ~wxOdbcParameter ()
 
long GetDataLength ()
 
long * GetDataLengthPointer ()
 
void * GetDataPtr ()
 
SQLSMALLINT GetValueType ()
 
SQLSMALLINT GetParameterType ()
 
SQLSMALLINT GetDecimalDigits ()
 
SQLUINTEGER GetColumnSize ()
 
SQLLEN * GetParameterLengthPtr ()
 
bool IsBinary ()
 
- 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

int m_nParameterType
 
TIMESTAMP_STRUCT m_DateValue
 
wxString m_strValue
 
long m_nValue
 
double m_dblValue
 
wxString m_strDateValue
 
bool m_bValue
 
wxMemoryBuffer m_BufferValue
 
wxCharBuffer m_CharBufferValue
 
long m_nBufferLength
 

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)
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PARAM_STRING 
PARAM_INT 
PARAM_DOUBLE 
PARAM_DATETIME 
PARAM_BOOL 
PARAM_BLOB 
PARAM_NULL 

Definition at line 21 of file odbc_param.h.

Constructor & Destructor Documentation

◆ wxOdbcParameter() [1/7]

wxOdbcParameter::wxOdbcParameter ( )

◆ wxOdbcParameter() [2/7]

wxOdbcParameter::wxOdbcParameter ( const wxString &  strValue)

◆ wxOdbcParameter() [3/7]

wxOdbcParameter::wxOdbcParameter ( int  nValue)

◆ wxOdbcParameter() [4/7]

wxOdbcParameter::wxOdbcParameter ( double  dblValue)

◆ wxOdbcParameter() [5/7]

wxOdbcParameter::wxOdbcParameter ( bool  bValue)

◆ wxOdbcParameter() [6/7]

wxOdbcParameter::wxOdbcParameter ( const wxDateTime &  dateValue)

◆ wxOdbcParameter() [7/7]

wxOdbcParameter::wxOdbcParameter ( const void *  pData,
long  nDataLength 
)

◆ ~wxOdbcParameter()

virtual wxOdbcParameter::~wxOdbcParameter ( )
inlinevirtual

Definition at line 19 of file odbc_param.h.

Member Function Documentation

◆ GetColumnSize()

SQLUINTEGER wxOdbcParameter::GetColumnSize ( )

◆ GetDataLength()

long wxOdbcParameter::GetDataLength ( )

◆ GetDataLengthPointer()

long* wxOdbcParameter::GetDataLengthPointer ( )

◆ GetDataPtr()

void* wxOdbcParameter::GetDataPtr ( )

◆ GetDecimalDigits()

SQLSMALLINT wxOdbcParameter::GetDecimalDigits ( )

◆ GetParameterLengthPtr()

SQLLEN* wxOdbcParameter::GetParameterLengthPtr ( )

◆ GetParameterType()

SQLSMALLINT wxOdbcParameter::GetParameterType ( )

◆ GetValueType()

SQLSMALLINT wxOdbcParameter::GetValueType ( )

◆ IsBinary()

bool wxOdbcParameter::IsBinary ( )

Member Data Documentation

◆ m_BufferValue

wxMemoryBuffer wxOdbcParameter::m_BufferValue
private

Definition at line 54 of file odbc_param.h.

◆ m_bValue

bool wxOdbcParameter::m_bValue
private

Definition at line 53 of file odbc_param.h.

◆ m_CharBufferValue

wxCharBuffer wxOdbcParameter::m_CharBufferValue
private

Definition at line 55 of file odbc_param.h.

◆ m_DateValue

TIMESTAMP_STRUCT wxOdbcParameter::m_DateValue
private

Definition at line 48 of file odbc_param.h.

◆ m_dblValue

double wxOdbcParameter::m_dblValue
private

Definition at line 51 of file odbc_param.h.

◆ m_nBufferLength

long wxOdbcParameter::m_nBufferLength
private

Definition at line 56 of file odbc_param.h.

◆ m_nParameterType

int wxOdbcParameter::m_nParameterType
private

Definition at line 45 of file odbc_param.h.

◆ m_nValue

long wxOdbcParameter::m_nValue
private

Definition at line 50 of file odbc_param.h.

◆ m_strDateValue

wxString wxOdbcParameter::m_strDateValue
private

Definition at line 52 of file odbc_param.h.

◆ m_strValue

wxString wxOdbcParameter::m_strValue
private

Definition at line 49 of file odbc_param.h.