Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

cConnect Class Reference

cConnect holds informations needed to connect to database management system. More...

#include <cConnect.h>

List of all members.

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

cConnectGetConnectInstance (void)

Private Member Functions

 cConnect (void)
 Constructor.


Private Attributes

string m_sConnectDataStr [MAX_SZ_CONNECT]
Bool m_bConnection
string m_sDbName

Static Private Attributes

cConnectm_pConnectHandler = NULL
 Singleton.


Detailed Description

cConnect holds informations needed to connect to database management system.

Author:
Xuan Ngo
Date:
Last Modified:
Version:
0.2
Since:
Wed Oct 22 04:05:43 2003
Bug:

Test:

Todo:
Warning:
Any warnings about using this class.


Constructor & Destructor Documentation

cConnect::cConnect void   )  [private]
 

Constructor.

cConnect::~cConnect void   ) 
 

Destructor.


Member Function Documentation

const string * cConnect::GetAllDataStr void   ) 
 

cConnect * cConnect::GetConnectInstance void   )  [static]
 

Bool cConnect::GetConnection void   ) 
 

string cConnect::GetDbName void   ) 
 

string cConnect::GetHost void   ) 
 

string cConnect::GetPassword void   ) 
 

string cConnect::GetRdms void   ) 
 

string cConnect::GetUsername void   ) 
 

void cConnect::SetAllDataStr string *  s  ) 
 

void cConnect::SetConnection Bool  bConnection  ) 
 

void cConnect::SetDbName string  sDbName  ) 
 

void cConnect::SetHost string  sHost  ) 
 

void cConnect::SetPassword string  sPassword  ) 
 

void cConnect::SetRdms string  sDatabase  ) 
 

void cConnect::SetUsername string  sUsername  ) 
 


Member Data Documentation

Bool cConnect::m_bConnection [private]
 

cConnect * cConnect::m_pConnectHandler = NULL [static, private]
 

Singleton.

string cConnect::m_sConnectDataStr[MAX_SZ_CONNECT] [private]
 

string cConnect::m_sDbName [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 25 01:15:15 2004 for eDonkeyFilesManager by doxygen 1.3.2