mySqlCMD Class Reference

#include <openMyDB.h>

Inheritance diagram for mySqlCMD:

Inheritance graph
[legend]
Collaboration diagram for mySqlCMD:

Collaboration graph
[legend]

List of all members.

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

mySqlDBpoDB
int state
size_t rows
mySqlDBpoDB


Detailed Description

Definition at line 64 of file openMyDB.h.


Constructor & Destructor Documentation

mySqlCMD::mySqlCMD ( openDB idb  ) 

Definition at line 164 of file openMyDB.cpp.

References poDB, and openCMD::rdb.

mySqlCMD::~mySqlCMD (  )  [virtual]

Definition at line 170 of file openMyDB.cpp.

mySqlCMD::mySqlCMD ( openDB idb  ) 

virtual mySqlCMD::~mySqlCMD (  )  [virtual]


Member Function Documentation

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.


Member Data Documentation

mySqlDB* mySqlCMD::poDB [protected]

Definition at line 67 of file openMyDB.h.

Referenced by execute(), mySqlCMD(), resultId(), and resultKey().

int mySqlCMD::state [protected]

Definition at line 70 of file openMyDB.h.

Referenced by execute().

size_t mySqlCMD::rows [protected]

Definition at line 71 of file openMyDB.h.

Referenced by execute().

mySqlDB* mySqlCMD::poDB [protected]

Definition at line 67 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