#include <openDB.h>


Public Member Functions | |
| openCMD (openDB &idb) | |
| virtual | ~openCMD () |
| virtual bool | execute (string)=0 |
| virtual int | resultId (void)=0 |
| virtual long long | resultKey (const string &keyName, const string &tableName)=0 |
| virtual bool | beginTransaction ()=0 |
| virtual bool | commit ()=0 |
| virtual bool | rollback ()=0 |
| virtual string & | getErrors (void) |
| openCMD (openDB &idb) | |
| virtual | ~openCMD () |
| virtual bool | execute (string)=0 |
| virtual int | resultId (void)=0 |
| virtual long long | resultKey (const string &keyName, const string &tableName)=0 |
| virtual bool | beginTransaction ()=0 |
| virtual bool | commit ()=0 |
| virtual bool | rollback ()=0 |
| virtual string & | getErrors (void) |
Protected Attributes | |
| openDB & | rdb |
| bool | m_bTransactioning |
| openDB & | rdb |
Definition at line 100 of file openDB.h.
| openCMD::openCMD | ( | openDB & | idb | ) |
Definition at line 94 of file openDB.cpp.
| openCMD::~openCMD | ( | ) | [virtual] |
Definition at line 98 of file openDB.cpp.
| openCMD::openCMD | ( | openDB & | idb | ) |
| virtual openCMD::~openCMD | ( | ) | [virtual] |
| virtual bool openCMD::execute | ( | string | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
Referenced by clearTable(), read_write_base::db_delete(), read_write_base::db_insert(), read_write_base::db_update(), Product_form::deleteAttributes(), Payment_Form_Complete::deleteOldUserParameters(), page::deletePageMenus(), page::deletePageParagraphs(), users::deleteRoles(), users_Obj::deleteRoles(), groups::deleteRoles(), groups_Obj::deleteRoles(), roles::deleteServices(), roles_Obj::deleteServices(), Category_Obj::dsupplemental(), menu::dsupplemental(), services::dsupplemental(), Scheme_Table_Obj::dsupplemental(), Scheme_Table_form::form_display(), Affiliate_Obj::isupplemental(), Customer_Payment_Service::ivalidate(), Ordered_Obj::removeParams(), Product_form::setAttributes(), Commission_Check_Obj::setCommission_Check_Orders(), users::setRoles(), users_Obj::setRoles(), groups::setRoles(), groups_Obj::setRoles(), roles::setServices(), openLogin::synch(), menu_item::usupplemental(), Category_Obj::usupplemental(), paragraphs_Obj::usupplemental(), paragraph::usupplemental(), Customer_Payment_Service::uvalidate(), and page::uvalidate().
| virtual int openCMD::resultId | ( | void | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual long long openCMD::resultKey | ( | const string & | keyName, | |
| const string & | tableName | |||
| ) | [pure virtual] |
| virtual bool openCMD::beginTransaction | ( | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual bool openCMD::commit | ( | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
Referenced by read_write_base::commit().
| virtual bool openCMD::rollback | ( | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual string& openCMD::getErrors | ( | void | ) | [inline, virtual] |
Definition at line 121 of file openDB.h.
References openDB::errorString(), and rdb.
Referenced by postgresCMD::checkRes(), read_write_base::db_delete(), read_write_base::db_insert(), and read_write_base::db_update().
| virtual bool openCMD::execute | ( | string | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual int openCMD::resultId | ( | void | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual long long openCMD::resultKey | ( | const string & | keyName, | |
| const string & | tableName | |||
| ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, and mySqlCMD.
| virtual bool openCMD::beginTransaction | ( | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual bool openCMD::commit | ( | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual bool openCMD::rollback | ( | ) | [pure virtual] |
Implemented in mySqlCMD, postgresCMD, mySqlCMD, and odbcCMD.
| virtual string& openCMD::getErrors | ( | void | ) | [inline, virtual] |
openDB& openCMD::rdb [protected] |
Definition at line 104 of file openDB.h.
Referenced by getErrors(), mySqlCMD::mySqlCMD(), and odbcCMD::odbcCMD().
bool openCMD::m_bTransactioning [protected] |
Definition at line 105 of file openDB.h.
Referenced by odbcCMD::beginTransaction(), mySqlCMD::beginTransaction(), postgresCMD::beginTransaction(), odbcCMD::commit(), mySqlCMD::commit(), odbcCMD::rollback(), and mySqlCMD::rollback().
openDB& openCMD::rdb [protected] |
1.5.5