Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TSQLDriverManager Class Reference

#include <RDBC/blob/master/include/RDBC/TSQLDriverManager.h>

+ Inheritance diagram for TSQLDriverManager:
+ Collaboration diagram for TSQLDriverManager:

Public Member Functions

 ~TSQLDriverManager ()
 
const char * GetName () const
 
- Public Member Functions inherited from TSQL
 TSQL (void *imp=0)
 
virtual ~TSQL ()
 
virtual void Throw (TSQLException *e)
 
TList * GetWarnings () const
 
void ClearWarnings ()
 
virtual Bool_t IsValid () const
 

Static Public Member Functions

static TSQLConnectionGetConnection (const TString &connectString)
 
static TSQLConnectionGetConnection (const TString &dsn, const TString &user, const TString &password="")
 
static Int_t GetLoginTimeout ()
 
static void SetLoginTimeout (Int_t seconds)
 
static void Shutdown ()
 
static TList * GetDataSources ()
 
static TList * GetDrivers ()
 
static TList * GetConnections ()
 
- Static Public Member Functions inherited from TSQL
static Bool_t SetHandler (const TString &handler)
 
static Bool_t UnsetHandler (const TString &handler="")
 

Private Member Functions

 TSQLDriverManager (const TSQLDriverManager &)
 
void operator= (const TSQLDriverManager &)
 
 TSQLDriverManager ()
 

Friends

TSQLDriverManagerInitGlobalDriverManager ()
 

Additional Inherited Members

- Protected Attributes inherited from TSQL
TList * fWarnings
 
void * fImp
 

Detailed Description

Definition at line 20 of file TSQLDriverManager.h.

View newest version in sPHENIX GitHub at line 20 of file TSQLDriverManager.h

Constructor & Destructor Documentation

TSQLDriverManager::TSQLDriverManager ( const TSQLDriverManager )
inlineprivate

Definition at line 25 of file TSQLDriverManager.h.

View newest version in sPHENIX GitHub at line 25 of file TSQLDriverManager.h

TSQLDriverManager::TSQLDriverManager ( )
private

Definition at line 197 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 197 of file TSQLDriverManager.cxx

References gConnections, and gDrivers.

TSQLDriverManager::~TSQLDriverManager ( )

Definition at line 212 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 212 of file TSQLDriverManager.cxx

References Shutdown().

+ Here is the call graph for this function:

Member Function Documentation

TSQLConnection * TSQLDriverManager::GetConnection ( const TString &  connectString)
static

Definition at line 477 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 477 of file TSQLDriverManager.cxx

References con, TSQL::fImp, GetConnections(), TSQL::GetWarnings(), gHandlersInitiated, gODBCini, InitHandlers(), TSQLConnection::SetURL(), and TSQL::Throw().

Referenced by bench(), ClassImp(), DbForm::Connect(), PgPostApplication::getConnection(), PgPostBankBackupLog::Init(), main(), oproducer(), RDBCconsumer(), RDBCemp(), RDBCfirst(), RDBCscroll(), RDBCTestConnect(), RDBCTestInt(), RDBCTestMetaData(), and PgPostApplication::setDBName().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TSQLConnection * TSQLDriverManager::GetConnection ( const TString &  dsn,
const TString &  user,
const TString &  password = "" 
)
static
TList * TSQLDriverManager::GetConnections ( )
static

Definition at line 554 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 554 of file TSQLDriverManager.cxx

References gConnections.

Referenced by TSQLConnection::Close(), and GetConnection().

+ Here is the caller graph for this function:

TList * TSQLDriverManager::GetDataSources ( )
static

Definition at line 260 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 260 of file TSQLDriverManager.cxx

References TSQL::Throw().

+ Here is the call graph for this function:

TList * TSQLDriverManager::GetDrivers ( )
static

Definition at line 244 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 244 of file TSQLDriverManager.cxx

References gDrivers, and TSQL::Throw().

+ Here is the call graph for this function:

Int_t TSQLDriverManager::GetLoginTimeout ( )
static

Definition at line 541 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 541 of file TSQLDriverManager.cxx

const char* TSQLDriverManager::GetName ( ) const
inline

Definition at line 42 of file TSQLDriverManager.h.

View newest version in sPHENIX GitHub at line 42 of file TSQLDriverManager.h

void TSQLDriverManager::operator= ( const TSQLDriverManager )
inlineprivate

Definition at line 27 of file TSQLDriverManager.h.

View newest version in sPHENIX GitHub at line 27 of file TSQLDriverManager.h

void TSQLDriverManager::SetLoginTimeout ( Int_t  seconds)
static

Definition at line 528 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 528 of file TSQLDriverManager.cxx

void TSQLDriverManager::Shutdown ( )
static

Definition at line 225 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 225 of file TSQLDriverManager.cxx

References gConnections, gDrivers, and gODBCini.

Referenced by ~TSQLDriverManager().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

TSQLDriverManager* InitGlobalDriverManager ( )
friend

Definition at line 76 of file TSQLDriverManager.cxx.

View newest version in sPHENIX GitHub at line 76 of file TSQLDriverManager.cxx


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