openCMD Class Reference

#include <openDB.h>

Inheritance diagram for openCMD:

Inheritance graph
[legend]
Collaboration diagram for openCMD:

Collaboration graph
[legend]

List of all members.

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

openDBrdb
bool m_bTransactioning
openDBrdb


Detailed Description

Definition at line 100 of file openDB.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

virtual bool openCMD::execute ( string   )  [pure virtual]

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.

Referenced by read_write_base::db_insert().

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]

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]

Definition at line 121 of file openDB.h.

References openDB::errorString(), and rdb.


Member Data Documentation

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]

openDB& openCMD::rdb [protected]

Definition at line 104 of file openDB.h.


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

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