Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

wx::DBI::Statement Class Reference

#include <dbi.h>

Collaboration diagram for wx::DBI::Statement:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Statement (Database *pdbOwner, const wxString &sNewQuery)
virtual ~Statement ()
wxString GetQuery ()
 Return the SQL query.

virtual bool DataAvailable ()=0
virtual void ExecutePrepared (const ArrayRecord &raParameters=ArrayRecord())=0
virtual void ExecuteTemporary (const ArrayRecord &raParameters=ArrayRecord())=0
void Fetch (ArrayRecord &ar)
void Fetch (HashRecord &hr)
void Fetch (ArrayRecordArray &ara)
void Fetch (HashRecordArray &hra)
virtual long GetLastInsertId ()
 Return the SQL query.


Protected Member Functions

virtual int GetFieldCount ()=0
virtual void MoveNext ()=0
virtual void GetFieldValue (int nIndex, wxVariant &v)=0
virtual wxString GetFieldName (int nIndex)=0

Protected Attributes

Database * pdb
wxString sQuery

Constructor & Destructor Documentation

wx::DBI::Statement::Statement (  Database *  pdbOwner,
const wxString &  sNewQuery
) 
 

virtual wx::DBI::Statement::~Statement (   )  [inline, virtual]
 

Definition at line 255 of file dbi.h.


Member Function Documentation

virtual bool wx::DBI::Statement::DataAvailable (   )  [pure virtual]
 

virtual void wx::DBI::Statement::ExecutePrepared (  const ArrayRecord &  raParameters = ArrayRecord()  )  [pure virtual]
 

virtual void wx::DBI::Statement::ExecuteTemporary (  const ArrayRecord &  raParameters = ArrayRecord()  )  [pure virtual]
 

void wx::DBI::Statement::Fetch (  HashRecordArray &  hra  ) 
 

void wx::DBI::Statement::Fetch (  ArrayRecordArray &  ara  ) 
 

void wx::DBI::Statement::Fetch (  HashRecord &  hr  ) 
 

void wx::DBI::Statement::Fetch (  ArrayRecord &  ar  ) 
 

virtual int wx::DBI::Statement::GetFieldCount (   )  [protected, pure virtual]
 

virtual wxString wx::DBI::Statement::GetFieldName (  int  nIndex  )  [protected, pure virtual]
 

virtual void wx::DBI::Statement::GetFieldValue (  int  nIndex,
wxVariant &  v
)  [protected, pure virtual]
 

virtual long wx::DBI::Statement::GetLastInsertId (   )  [virtual]
 

Return the SQL query.

Exceptions:
Raises an exception if the database engine does not support this functionality.
Returns:
The id of the last inserted record that caused an id to be generated.

wxString wx::DBI::Statement::GetQuery (   ) 
 

Return the SQL query.

Returns:
The query.

virtual void wx::DBI::Statement::MoveNext (   )  [protected, pure virtual]
 


Member Data Documentation

Database* wx::DBI::Statement::pdb [protected]
 

Definition at line 304 of file dbi.h.

wxString wx::DBI::Statement::sQuery [protected]
 

Definition at line 305 of file dbi.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 25 08:13:20 2006 for Sherpa wxWidgets Classes by doxygen 1.3.6