StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
StDbServerImpl Class Reference
Inheritance diagram for StDbServerImpl:
StDbServer

Public Member Functions

 StDbServerImpl (const char *name, const char *host, const char *socket, int port)
 
 StDbServerImpl (StDbServerImpl &server)
 
virtual void addDataBase (StDbType type, StDbDomain domain)
 
virtual void addDataBase (const char *typeName, const char *domName)
 
virtual StDataBaseIuseDb (StDbType type, StDbDomain domain)
 
virtual StDataBaseIuseDb (const char *typeName, const char *domName)
 
virtual StDataBaseIuseDb ()
 
virtual bool isConnected ()
 
virtual void closeConnection ()
 
virtual void setTimeLogging (bool isTimeLogged)
 
virtual double getQueryTimes ()
 
virtual double getSocketTimes ()
 
virtual double getConnectTimes ()
 
void PointMysqlDb (StDbManagerImpl *m)
 
- Public Member Functions inherited from StDbServer
 StDbServer (const char *name, const char *host, const char *sock, int port)
 
 StDbServer (StDbServer &server)
 
virtual void setHostName (const char *name)
 
virtual void setUnixSocket (const char *name)
 
virtual void setPortNumber (int port)
 
virtual void setServerName (const char *name)
 
virtual void setUser (const char *name, const char *pword=0)
 
virtual char * getServerName () const
 
virtual char * getHostName () const
 
virtual char * getUnixSocket () const
 
virtual int getPortNumber () const
 
virtual char * printServerName ()
 
virtual char * printHostName ()
 
virtual char * printUnixSocket ()
 
virtual char * printUser ()
 
virtual char * printPword ()
 
virtual void setIsDefaultServer ()
 
virtual bool isDefault () const
 

Protected Member Functions

void deleteDataBases ()
 
- Protected Member Functions inherited from StDbServer
char * mstringDup (const char *str) const
 

Protected Attributes

MysqlDb Db
 
StDbBuffer buff
 
StDataBaseImcurrentDb
 
DbList mdataBases
 
- Protected Attributes inherited from StDbServer
char * mserverName = 0
 
char * mhostName = 0
 
char * munixSocket = 0
 
char * muserName = 0
 
char * mpword = 0
 
int mportNumber = 0
 
bool misDefault = false
 

Detailed Description

Definition at line 57 of file StDbServerImpl.hh.


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