#include <openMyDB.h>


Public Member Functions | |
| mySqlDB (string strConnection) | |
| virtual | ~mySqlDB () |
| virtual dbProvider | getProvider (void) |
| bool | error (int state=0) |
| MYSQL * | getConnection (void) |
| mySqlDB (string strConnection) | |
| virtual | ~mySqlDB () |
| virtual dbProvider | getProvider (void) |
| bool | error (int state=0) |
| MYSQL * | getConnection (void) |
Protected Member Functions | |
| virtual bool | parseConnection (string &strConnection) |
| virtual openCMD * | createCommand () |
| virtual openRS * | createRecordset () |
| virtual bool | parseConnection (string &strConnection) |
| virtual openCMD * | createCommand () |
| virtual openRS * | createRecordset () |
Protected Attributes | |
| string | host |
| string | uid |
| string | pwd |
| string | db |
| unsigned int | port |
| string | socket |
| const char * | pchSocket |
| unsigned int | flags |
| MYSQL * | connection |
| MYSQL | mysql |
| bool | transactioning |
| const char * | pchSocket |
| MYSQL * | connection |
Definition at line 24 of file openMyDB.h.
| mySqlDB::mySqlDB | ( | string | strConnection | ) |
Definition at line 35 of file openMyDB.cpp.
References connection, db, flags, host, openDB::m_bGood, openDB::m_provider, openDB::m_strErrors, mysql, MySQL, parseConnection(), pchSocket, port, pwd, and uid.
| mySqlDB::~mySqlDB | ( | ) | [virtual] |
| mySqlDB::mySqlDB | ( | string | strConnection | ) |
| virtual mySqlDB::~mySqlDB | ( | ) | [virtual] |
| bool mySqlDB::parseConnection | ( | string & | strConnection | ) | [protected, virtual] |
Definition at line 64 of file openMyDB.cpp.
References db, ocString::endOfParse(), flags, host, ocString::parse(), ocString::parseInit(), pchSocket, port, pwd, socket, and uid.
Referenced by mySqlDB().
| openCMD * mySqlDB::createCommand | ( | ) | [protected, virtual] |
| openRS * mySqlDB::createRecordset | ( | ) | [protected, virtual] |
| dbProvider mySqlDB::getProvider | ( | void | ) | [virtual] |
| bool mySqlDB::error | ( | int | state = 0 |
) |
Definition at line 18 of file openMyDB.cpp.
References openDB::m_strErrors, and mysql.
Referenced by mySqlCMD::execute(), mySqlRS::getErrors(), mySqlRS::next(), and mySqlRS::open().
| MYSQL* mySqlDB::getConnection | ( | void | ) | [inline] |
Definition at line 53 of file openMyDB.h.
References connection.
Referenced by mySqlCMD::execute(), mySqlRS::open(), mySqlCMD::resultId(), and mySqlCMD::resultKey().
| virtual bool mySqlDB::parseConnection | ( | string & | strConnection | ) | [protected, virtual] |
| virtual dbProvider mySqlDB::getProvider | ( | void | ) | [virtual] |
Implements openDB.
| bool mySqlDB::error | ( | int | state = 0 |
) |
| MYSQL* mySqlDB::getConnection | ( | void | ) | [inline] |
string mySqlDB::host [protected] |
string mySqlDB::uid [protected] |
string mySqlDB::pwd [protected] |
string mySqlDB::db [protected] |
unsigned int mySqlDB::port [protected] |
string mySqlDB::socket [protected] |
const char* mySqlDB::pchSocket [protected] |
unsigned int mySqlDB::flags [protected] |
MYSQL* mySqlDB::connection [protected] |
MYSQL mySqlDB::mysql [protected] |
bool mySqlDB::transactioning [protected] |
Definition at line 39 of file openMyDB.h.
const char* mySqlDB::pchSocket [protected] |
Definition at line 34 of file openMyDB.h.
MYSQL* mySqlDB::connection [protected] |
Definition at line 38 of file openMyDB.h.
1.5.5