mySqlRS Class Reference

#include <openMyDB.h>

Inheritance diagram for mySqlRS:

Inheritance graph
[legend]
Collaboration diagram for mySqlRS:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 mySqlRS (openDB &idb)
virtual ~mySqlRS ()
virtual bool open (string sql)
virtual bool close (void)
virtual bool next (int rows=1)
virtual bool previous (int rows=1)
virtual string & getErrors (void)
 mySqlRS (openDB &idb)
virtual ~mySqlRS ()
virtual bool open (string sql)
virtual bool close (void)
virtual bool next (int rows=1)
virtual bool previous (int rows=1)
virtual string & getErrors (void)

Protected Member Functions

bool beginTransaction ()
bool commit ()
bool beginTransaction ()
bool commit ()

Protected Attributes

mySqlDBpoDB
int state
size_t rows
MYSQL_RES * result
my_col_infoVector colInfo
mysqlMap colMap
mySqlDBpoDB
MYSQL_RES * result


Detailed Description

Definition at line 93 of file openMyDB.h.


Constructor & Destructor Documentation

mySqlRS::mySqlRS ( openDB idb  ) 

Definition at line 238 of file openMyDB.cpp.

References poDB.

mySqlRS::~mySqlRS (  )  [virtual]

Definition at line 245 of file openMyDB.cpp.

References close().

mySqlRS::mySqlRS ( openDB idb  ) 

virtual mySqlRS::~mySqlRS (  )  [virtual]


Member Function Documentation

bool mySqlRS::beginTransaction (  )  [protected, virtual]

Implements openRS.

Definition at line 339 of file openMyDB.cpp.

References openRS::m_bTransactioning.

bool mySqlRS::commit (  )  [protected, virtual]

Implements openRS.

Definition at line 349 of file openMyDB.cpp.

References openRS::m_bTransactioning.

bool mySqlRS::open ( string  sql  )  [virtual]

bool mySqlRS::close ( void   )  [virtual]

Implements openRS.

Definition at line 359 of file openMyDB.cpp.

References openRS::associations, colInfo, openRS::m_bOpen, openRS::ordinals, result, and writelog.

Referenced by openCatalog::fieldsList(), next(), open(), and ~mySqlRS().

bool mySqlRS::next ( int  rows = 1  )  [virtual]

bool mySqlRS::previous ( int  rows = 1  )  [virtual]

Implements openRS.

Definition at line 421 of file openMyDB.cpp.

string & mySqlRS::getErrors ( void   )  [virtual]

Reimplemented from openRS.

Definition at line 331 of file openMyDB.cpp.

References mySqlDB::error(), openDB::errorString(), and poDB.

bool mySqlRS::beginTransaction (  )  [protected, virtual]

Implements openRS.

bool mySqlRS::commit (  )  [protected, virtual]

Implements openRS.

virtual bool mySqlRS::open ( string  sql  )  [virtual]

Implements openRS.

virtual bool mySqlRS::close ( void   )  [virtual]

Implements openRS.

virtual bool mySqlRS::next ( int  rows = 1  )  [virtual]

Implements openRS.

virtual bool mySqlRS::previous ( int  rows = 1  )  [virtual]

Implements openRS.

virtual string& mySqlRS::getErrors ( void   )  [virtual]

Reimplemented from openRS.


Member Data Documentation

mySqlDB* mySqlRS::poDB [protected]

Definition at line 97 of file openMyDB.h.

Referenced by getErrors(), mySqlRS(), next(), and open().

int mySqlRS::state [protected]

Definition at line 100 of file openMyDB.h.

Referenced by open().

size_t mySqlRS::rows [protected]

Definition at line 101 of file openMyDB.h.

MYSQL_RES* mySqlRS::result [protected]

Definition at line 102 of file openMyDB.h.

Referenced by close(), next(), and open().

Definition at line 105 of file openMyDB.h.

Referenced by close(), next(), and open().

Definition at line 106 of file openMyDB.h.

Referenced by next(), and open().

mySqlDB* mySqlRS::poDB [protected]

Definition at line 97 of file openMyDB.h.

MYSQL_RES* mySqlRS::result [protected]

Definition at line 102 of file openMyDB.h.


The documentation for this class was generated from the following files:

Generated on Sat Aug 15 12:48:29 2009 for w3systemsDevelopment by  doxygen 1.5.5