Version: 1.0.0
wxMysqlPreparedStatementParameter Class Reference

#include <mysql_preparedstatement_parameter.h>

+ Inheritance diagram for wxMysqlPreparedStatementParameter:

Detailed Description

Definition at line 17 of file mysql_preparedstatement_parameter.h.

Public Member Functions

 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, const wxString &strValue)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, int nValue)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, double dblValue)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, const void *pData, long nDataLength)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, const wxDateTime &dateValue)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, bool bValue)
 
 wxMysqlPreparedStatementParameter (MYSQL_BIND *pBind, MYSQL_FIELD *pField)
 
virtual ~wxMysqlPreparedStatementParameter ()
 
MYSQL_BIND * GetMysqlBind ()
 
MysqlBindDataGetBindData ()
 
void SetInt (int nValue)
 
void SetDouble (double dblValue)
 
void SetString (const wxString &strValue)
 
void SetNull ()
 
void SetBlob (const void *pData, long nDataLength)
 
void SetDate (const wxDateTime &dateValue)
 
void SetBool (bool bValue)
 
void ClearBuffer ()
 
- Public Member Functions inherited from wxDatabaseErrorReporter
 wxDatabaseErrorReporter ()
 
virtual ~wxDatabaseErrorReporter ()
 
const wxString & GetErrorMessage ()
 
int GetErrorCode ()
 
void ResetErrorCodes ()
 
- 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

MYSQL_BIND * m_pBind
 
MysqlBindData m_Data
 
my_bool m_bIsNull
 

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)
 
- Protected Member Functions inherited from wxDatabaseErrorReporter
void SetErrorMessage (const wxString &strErrorMessage)
 
void SetErrorCode (int nErrorCode)
 
void ThrowDatabaseException ()
 

Constructor & Destructor Documentation

◆ wxMysqlPreparedStatementParameter() [1/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind)

◆ wxMysqlPreparedStatementParameter() [2/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
const wxString &  strValue 
)

◆ wxMysqlPreparedStatementParameter() [3/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
int  nValue 
)

◆ wxMysqlPreparedStatementParameter() [4/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
double  dblValue 
)

◆ wxMysqlPreparedStatementParameter() [5/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
const void *  pData,
long  nDataLength 
)

◆ wxMysqlPreparedStatementParameter() [6/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
const wxDateTime &  dateValue 
)

◆ wxMysqlPreparedStatementParameter() [7/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
bool  bValue 
)

◆ wxMysqlPreparedStatementParameter() [8/8]

wxMysqlPreparedStatementParameter::wxMysqlPreparedStatementParameter ( MYSQL_BIND *  pBind,
MYSQL_FIELD *  pField 
)

◆ ~wxMysqlPreparedStatementParameter()

virtual wxMysqlPreparedStatementParameter::~wxMysqlPreparedStatementParameter ( )
virtual

Member Function Documentation

◆ ClearBuffer()

void wxMysqlPreparedStatementParameter::ClearBuffer ( )

◆ GetBindData()

MysqlBindData* wxMysqlPreparedStatementParameter::GetBindData ( )
inline

Definition at line 34 of file mysql_preparedstatement_parameter.h.

References m_Data.

◆ GetMysqlBind()

MYSQL_BIND* wxMysqlPreparedStatementParameter::GetMysqlBind ( )
inline

Definition at line 33 of file mysql_preparedstatement_parameter.h.

References m_pBind.

◆ SetBlob()

void wxMysqlPreparedStatementParameter::SetBlob ( const void *  pData,
long  nDataLength 
)

◆ SetBool()

void wxMysqlPreparedStatementParameter::SetBool ( bool  bValue)

◆ SetDate()

void wxMysqlPreparedStatementParameter::SetDate ( const wxDateTime &  dateValue)

◆ SetDouble()

void wxMysqlPreparedStatementParameter::SetDouble ( double  dblValue)

◆ SetInt()

void wxMysqlPreparedStatementParameter::SetInt ( int  nValue)

◆ SetNull()

void wxMysqlPreparedStatementParameter::SetNull ( )

◆ SetString()

void wxMysqlPreparedStatementParameter::SetString ( const wxString &  strValue)

Member Data Documentation

◆ m_bIsNull

my_bool wxMysqlPreparedStatementParameter::m_bIsNull
private

Definition at line 48 of file mysql_preparedstatement_parameter.h.

◆ m_Data

MysqlBindData wxMysqlPreparedStatementParameter::m_Data
private

Definition at line 47 of file mysql_preparedstatement_parameter.h.

Referenced by GetBindData().

◆ m_pBind

MYSQL_BIND* wxMysqlPreparedStatementParameter::m_pBind
private

Definition at line 46 of file mysql_preparedstatement_parameter.h.

Referenced by GetMysqlBind().