Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

PostgresPreparedStatementWrapper Class Reference

#include <PostgresPreparedStatementWrapper.h>

Inheritance diagram for PostgresPreparedStatementWrapper:

DatabaseErrorReporter DatabaseStringConverter List of all members.

Public Member Functions

 PostgresPreparedStatementWrapper (PGconn *pDatabase, const wxString &strSQL, const wxString &strStatementName)
virtual ~PostgresPreparedStatementWrapper ()
void SetParam (int nPosition, int nValue)
void SetParam (int nPosition, double dblValue)
void SetParam (int nPosition, const wxString &strValue)
void SetParam (int nPosition)
void SetParam (int nPosition, const void *pData, long nDataLength)
void SetParam (int nPosition, const wxDateTime &dateValue)
void SetParam (int nPosition, bool bValue)
int GetParameterCount ()
void RunQuery ()
DatabaseResultSetRunQueryWithResults ()

Constructor & Destructor Documentation

PostgresPreparedStatementWrapper::PostgresPreparedStatementWrapper PGconn *  pDatabase,
const wxString &  strSQL,
const wxString &  strStatementName
 

Definition at line 6 of file PostgresPreparedStatementWrapper.cpp.

PostgresPreparedStatementWrapper::~PostgresPreparedStatementWrapper  )  [virtual]
 

Definition at line 14 of file PostgresPreparedStatementWrapper.cpp.


Member Function Documentation

int PostgresPreparedStatementWrapper::GetParameterCount  ) 
 

Definition at line 54 of file PostgresPreparedStatementWrapper.cpp.

void PostgresPreparedStatementWrapper::RunQuery  ) 
 

Definition at line 59 of file PostgresPreparedStatementWrapper.cpp.

References DatabaseStringConverter::ConvertFromUnicodeStream(), DatabaseStringConverter::ConvertToUnicodeStream(), DATABASE_LAYER_OK, DatabaseErrorReporter::GetErrorCode(), PostgresPreparedStatementParameterCollection::GetParamFormats(), PostgresPreparedStatementParameterCollection::GetParamLengths(), PostgresPreparedStatementParameterCollection::GetParamValues(), PostgresPreparedStatementParameterCollection::GetSize(), DatabaseErrorReporter::SetErrorCode(), DatabaseErrorReporter::SetErrorMessage(), and DatabaseErrorReporter::ThrowDatabaseException().

DatabaseResultSet * PostgresPreparedStatementWrapper::RunQueryWithResults  ) 
 

Definition at line 88 of file PostgresPreparedStatementWrapper.cpp.

References DatabaseStringConverter::ConvertFromUnicodeStream(), DatabaseStringConverter::ConvertToUnicodeStream(), DatabaseStringConverter::GetEncoding(), PostgresPreparedStatementParameterCollection::GetParamFormats(), PostgresPreparedStatementParameterCollection::GetParamLengths(), PostgresPreparedStatementParameterCollection::GetParamValues(), PostgresPreparedStatementParameterCollection::GetSize(), DatabaseStringConverter::SetEncoding(), DatabaseErrorReporter::SetErrorCode(), DatabaseErrorReporter::SetErrorMessage(), and DatabaseErrorReporter::ThrowDatabaseException().

Referenced by PostgresPreparedStatement::RunQueryWithResults().

void PostgresPreparedStatementWrapper::SetParam int  nPosition,
bool  bValue
 

Definition at line 49 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().

void PostgresPreparedStatementWrapper::SetParam int  nPosition,
const wxDateTime &  dateValue
 

Definition at line 44 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().

void PostgresPreparedStatementWrapper::SetParam int  nPosition,
const void *  pData,
long  nDataLength
 

Definition at line 39 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().

void PostgresPreparedStatementWrapper::SetParam int  nPosition  ) 
 

Definition at line 34 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().

void PostgresPreparedStatementWrapper::SetParam int  nPosition,
const wxString &  strValue
 

Definition at line 29 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().

void PostgresPreparedStatementWrapper::SetParam int  nPosition,
double  dblValue
 

Definition at line 24 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().

void PostgresPreparedStatementWrapper::SetParam int  nPosition,
int  nValue
 

Definition at line 19 of file PostgresPreparedStatementWrapper.cpp.

References PostgresPreparedStatementParameterCollection::SetParam().


The documentation for this class was generated from the following files:
Generated on Sat May 13 17:31:35 2006 for databaselayer by  doxygen 1.4.1