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
StDbServer Class Referenceabstract
Inheritance diagram for StDbServer:
StDbServerImpl

Public Member Functions

 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
 
virtual void addDataBase (StDbType type, StDbDomain domain)=0
 
virtual void addDataBase (const char *typeName, const char *domName)=0
 
virtual StDataBaseIuseDb (StDbType type, StDbDomain domain)=0
 
virtual StDataBaseIuseDb (const char *typeName, const char *domName)=0
 
virtual StDataBaseIuseDb ()=0
 
virtual bool isConnected ()=0
 
virtual void closeConnection ()=0
 
virtual void setTimeLogging (bool isTimeLogged)=0
 
virtual double getQueryTimes ()=0
 
virtual double getSocketTimes ()=0
 
virtual double getConnectTimes ()=0
 

Protected Member Functions

char * mstringDup (const char *str) const
 

Protected Attributes

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 88 of file StDbServer.hh.


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