Version: 1.0.0
mysql_preparedstatement_parameter_collection.h
Go to the documentation of this file.
1 #ifndef _WX_DATABASE_MYSQL_PREPARED_STATEMENT_PARAMETER_COLLECTION_H_
2 #define _WX_DATABASE_MYSQL_PREPARED_STATEMENT_PARAMETER_COLLECTION_H_
3 
4 #include "wx/database/wxprec.h"
5 
6 WX_DEFINE_ARRAY_PTR(wxMysqlParameter*, MysqlParameterArray);
7 
9 {
10 public:
11  // ctor
13 
14  // dtor
16 
17  int GetSize();
18  MYSQL_BIND* GetMysqlParameterBindings();
19 
20  void SetParam(int nPosition, int nValue);
21  void SetParam(int nPosition, double dblValue);
22  void SetParam(int nPosition, const wxString& strValue);
23  void SetParam(int nPosition);
24  void SetParam(int nPosition, const void* pData, long nDataLength);
25  void SetParam(int nPosition, const wxDateTime& dateValue);
26  void SetParam(int nPosition, bool bValue);
27  void SetParam(int nPosition, wxMysqlParameter* pParameter);
28 
29 private:
30  MysqlParameterArray m_Parameters;
31 };
32 
33 #endif//_WX_DATABASE_MYSQL_PREPARED_STATEMENT_PARAMETER_COLLECTION_H_
34 
void SetParam(int nPosition, int nValue)
WX_DEFINE_ARRAY_PTR(wxMysqlParameter *, MysqlParameterArray)