#include <cConnect.h>
Public Member Functions | |
~cConnect (void) | |
Destructor. | |
Bool | GetConnection (void) |
void | SetConnection (Bool bConnection) |
const string * | GetAllDataStr (void) |
void | SetAllDataStr (string *s) |
void | SetUsername (string sUsername) |
void | SetPassword (string sPassword) |
void | SetRdms (string sDatabase) |
void | SetHost (string sHost) |
string | GetUsername (void) |
string | GetPassword (void) |
string | GetRdms (void) |
string | GetHost (void) |
void | SetDbName (string sDbName) |
string | GetDbName (void) |
Static Public Member Functions | |
cConnect * | GetConnectInstance (void) |
Private Member Functions | |
cConnect (void) | |
Constructor. | |
Private Attributes | |
string | m_sConnectDataStr [MAX_SZ_CONNECT] |
Bool | m_bConnection |
string | m_sDbName |
Static Private Attributes | |
cConnect * | m_pConnectHandler = NULL |
Singleton. |
|
Constructor.
|
|
Destructor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Singleton.
|
|
|
|
|