openDB Class Reference

#include <openDB.h>

Inheritance diagram for openDB:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 openDB (string strConnection)
virtual ~openDB ()
virtual dbProvider getProvider (void)=0
bool isGood (void)
string & errorString (void)
 openDB (string strConnection)
virtual ~openDB ()
virtual dbProvider getProvider (void)=0
bool isGood (void)
string & errorString (void)

Protected Member Functions

virtual openCMDcreateCommand ()=0
virtual openRScreateRecordset ()=0
virtual openCMDcreateCommand ()=0
virtual openRScreateRecordset ()=0

Protected Attributes

string m_strErrors
dbProvider m_provider
bool m_bGood

Friends

class openRsFactory
class openCmdFactory


Detailed Description

Definition at line 73 of file openDB.h.


Constructor & Destructor Documentation

openDB::openDB ( string  strConnection  ) 

Definition at line 82 of file openDB.cpp.

openDB::~openDB (  )  [virtual]

Definition at line 86 of file openDB.cpp.

openDB::openDB ( string  strConnection  ) 

virtual openDB::~openDB (  )  [virtual]


Member Function Documentation

virtual openCMD* openDB::createCommand (  )  [protected, pure virtual]

Implemented in mySqlDB, postgresDB, mySqlDB, and odbcDB.

Referenced by openCmdFactory::openCmdFactory().

virtual openRS* openDB::createRecordset (  )  [protected, pure virtual]

Implemented in mySqlDB, postgresDB, mySqlDB, and odbcDB.

Referenced by openRsFactory::openRsFactory().

virtual dbProvider openDB::getProvider ( void   )  [pure virtual]

Implemented in mySqlDB, postgresDB, mySqlDB, and odbcDB.

Referenced by list_base::limitClause(), and main().

bool openDB::isGood ( void   )  [inline]

Definition at line 89 of file openDB.h.

References m_bGood.

Referenced by mySqlCMD::execute(), main(), and mySqlRS::open().

string& openDB::errorString ( void   )  [inline]

virtual openCMD* openDB::createCommand (  )  [protected, pure virtual]

Implemented in mySqlDB, postgresDB, mySqlDB, and odbcDB.

virtual openRS* openDB::createRecordset (  )  [protected, pure virtual]

Implemented in mySqlDB, postgresDB, mySqlDB, and odbcDB.

virtual dbProvider openDB::getProvider ( void   )  [pure virtual]

Implemented in mySqlDB, postgresDB, mySqlDB, and odbcDB.

bool openDB::isGood ( void   )  [inline]

Definition at line 89 of file openDB.h.

References m_bGood.

string& openDB::errorString ( void   )  [inline]

Reimplemented in odbcDB.

Definition at line 91 of file openDB.h.

References m_strErrors.


Friends And Related Function Documentation

openRsFactory [friend]

Definition at line 93 of file openDB.h.

openCmdFactory [friend]

Definition at line 94 of file openDB.h.


Member Data Documentation

string openDB::m_strErrors [protected]

Reimplemented in odbcDB.

Definition at line 76 of file openDB.h.

Referenced by mySqlDB::error(), errorString(), and mySqlDB::mySqlDB().

bool openDB::m_bGood [protected]


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