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