#include "IDBconnect.hxx"
Collaboration diagram for IDBconnect:
Public Methods | |
IDBconnect () | |
~IDBconnect () | |
bool | Connect (const char *c_dcs) |
bool | Disconnect () |
bool | Connected () const |
CTBodbcConnect & | Dbc () |
void | ToStream (ostream &os=cout) const |
bool | operator! () const |
operator bool () const | |
Static Public Methods | |
IDBconnect & | Default () |
bool | DefaultConnect () |
bool | DefaultConnect (const char *c_dcs) |
bool | DefaultDisconnect () |
bool | DefaultConnected () |
void | DefaultDCS (const char *c_dcs) |
const char * | DefaultDCS () |
Private Attributes | |
CTBodbcConnect * | mp_dbc |
Static Private Attributes | |
IDBconnect | m_defaultdbc |
CTBcstring< 256 > | mc_defaultdcs |
Definition at line 10 of file IDBconnect.hxx.
|
Default constructor.
Definition at line 20 of file IDBconnect.cxx. |
|
Destructor.
Definition at line 27 of file IDBconnect.cxx. |
|
Connect to database with explicit database connect string c_dcs.
Definition at line 35 of file IDBconnect.cxx. Referenced by DefaultConnect().
|
|
Disconnect from database.
Definition at line 44 of file IDBconnect.cxx. Referenced by DefaultDisconnect().
|
|
Returns
Definition at line 52 of file IDBconnect.cxx. Referenced by DefaultConnected(), operator bool(), and operator!().
|
|
Access
Definition at line 60 of file IDBconnect.cxx. Referenced by IDBrunnote::Execute(), IDBrunmap::HeadTimeFromUrn(), IDBrunmap::OrnFromUrn(), IDBrunmap::TheadFromUrn(), and IDBrunmap::UrnFromHeadTime().
|
|
ostream insertion.
Definition at line 72 of file IDBconnect.cxx. Referenced by operator<<().
|
|
Negation operator, returns
Definition at line 7 of file IDBconnect.icc. |
|
Definition at line 15 of file IDBconnect.icc. |
|
Access default connection object.
Definition at line 81 of file IDBconnect.cxx. |
|
Connect default connection with default database connect string.
Definition at line 89 of file IDBconnect.cxx. |
|
Connect default connection with explict database connect string c_dcs.
Definition at line 97 of file IDBconnect.cxx. |
|
Disconnect default connection.
Definition at line 109 of file IDBconnect.cxx. |
|
Returns
Definition at line 117 of file IDBconnect.cxx. |
|
Set default database connect string to c_dcs.
Definition at line 125 of file IDBconnect.cxx. |
|
Access default database connect string.
Definition at line 134 of file IDBconnect.cxx. |
|
dbc.
Definition at line 39 of file IDBconnect.hxx. |
|
default connection.
Definition at line 140 of file IDBconnect.cxx. |
|
default dcs.
|