#include <openMyDB.h>


Public Member Functions | |
| mySqlCMD (openDB &idb) | |
| virtual | ~mySqlCMD () |
| virtual bool | execute (string) |
| virtual int | resultId (void) |
| virtual long long | resultKey (const string &keyName, const string &tableName) |
| virtual bool | beginTransaction () |
| virtual bool | commit () |
| virtual bool | rollback () |
| mySqlCMD (openDB &idb) | |
| virtual | ~mySqlCMD () |
| virtual bool | execute (string) |
| virtual int | resultId (void) |
| virtual long long | resultKey (const string &keyName, const string &tableName) |
| virtual bool | beginTransaction () |
| virtual bool | commit () |
| virtual bool | rollback () |
Protected Attributes | |
| mySqlDB * | poDB |
| int | state |
| size_t | rows |
| mySqlDB * | poDB |
Definition at line 64 of file openMyDB.h.
| mySqlCMD::mySqlCMD | ( | openDB & | idb | ) |
| mySqlCMD::~mySqlCMD | ( | ) | [virtual] |
Definition at line 170 of file openMyDB.cpp.
| mySqlCMD::mySqlCMD | ( | openDB & | idb | ) |
| virtual mySqlCMD::~mySqlCMD | ( | ) | [virtual] |
| bool mySqlCMD::execute | ( | string | sql | ) | [virtual] |
Implements openCMD.
Definition at line 205 of file openMyDB.cpp.
References mySqlDB::error(), mySqlDB::getConnection(), openDB::isGood(), poDB, rows, state, and writelog2.
| int mySqlCMD::resultId | ( | void | ) | [virtual] |
Implements openCMD.
Definition at line 226 of file openMyDB.cpp.
References mySqlDB::getConnection(), and poDB.
| long long mySqlCMD::resultKey | ( | const string & | keyName, | |
| const string & | tableName | |||
| ) | [virtual] |
Implements openCMD.
Definition at line 230 of file openMyDB.cpp.
References mySqlDB::getConnection(), and poDB.
| bool mySqlCMD::beginTransaction | ( | ) | [virtual] |
Implements openCMD.
Definition at line 175 of file openMyDB.cpp.
References openCMD::m_bTransactioning.
| bool mySqlCMD::commit | ( | ) | [virtual] |
Implements openCMD.
Definition at line 185 of file openMyDB.cpp.
References openCMD::m_bTransactioning.
| bool mySqlCMD::rollback | ( | ) | [virtual] |
Implements openCMD.
Definition at line 195 of file openMyDB.cpp.
References openCMD::m_bTransactioning.
| virtual bool mySqlCMD::execute | ( | string | ) | [virtual] |
Implements openCMD.
| virtual int mySqlCMD::resultId | ( | void | ) | [virtual] |
Implements openCMD.
| virtual long long mySqlCMD::resultKey | ( | const string & | keyName, | |
| const string & | tableName | |||
| ) | [virtual] |
Implements openCMD.
| virtual bool mySqlCMD::beginTransaction | ( | ) | [virtual] |
Implements openCMD.
| virtual bool mySqlCMD::commit | ( | ) | [virtual] |
Implements openCMD.
| virtual bool mySqlCMD::rollback | ( | ) | [virtual] |
Implements openCMD.
mySqlDB* mySqlCMD::poDB [protected] |
Definition at line 67 of file openMyDB.h.
Referenced by execute(), mySqlCMD(), resultId(), and resultKey().
int mySqlCMD::state [protected] |
size_t mySqlCMD::rows [protected] |
mySqlDB* mySqlCMD::poDB [protected] |
Definition at line 67 of file openMyDB.h.
1.5.5