HParOraIo
class description - source file - inheritance tree (.pdf)
private:
Bool_t activateDetIo()
public:
HParOraIo()
HParOraIo(const HParOraIo&)
~HParOraIo()
virtual Bool_t check()
static TClass* Class()
virtual void close()
virtual void disconnect()
virtual TList* getListOfRuns(const char*, const char* startAt, const char* endAt)
HOraInfo* getOraInfo()
virtual TClass* IsA() const
Bool_t open()
Bool_t open(char* userName)
Bool_t open(char* dbName, char* userName)
HParOraIo& operator=(const HParOraIo&)
virtual void print()
virtual Bool_t reconnect()
virtual void setDetParIo(Text_t*)
Bool_t setHistoryDate(const char*)
Bool_t setParamRelease(const char*)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
HOraConn* pConn pointer to the connection class
HOraInfo* pInfo pointer to the utility class
Bool_t isConnected ==kTRUE if connection is open
HParOraIo
Interface class to database Oracle
It is derived from interface base class HParIo.
It contains a pointer to the connection class (type HOraConn) and a list
of interface classes for the detectors. Each detector has its own interface
class all inherited from a common base class.
This class replaces the former class HOraIo.
HParOraIo()
default constructor
creates the connection class but doesn't open a connection
~HParOraIo()
default constructor closes an open connection
Bool_t open()
opens connection to database Hades as user Hades
user Hades has Readonly access to Oracle tables
all open()-functions activate the detetctor I/Os
Bool_t open(char *userName)
opens connection to database Hades for user given by name
asks for password
Bool_t open(char *dbName, char *userName)
opens connection to database with name dbName for user given by name
asks for password
Bool_t reconnect()
reopens the connection (only applicable for default user hades_ana)
void close()
closes the connection with automatic ROLLBACK
void disconnect()
void print()
prints information about the database connection
Bool_t setHistoryDate(const char* timestamp)
Sets the date to retrieve historic data
Returns kFALSE when the date string cannot be converted to a valid date.
Bool_t setParamRelease(const char* releaseName)
Sets the history date to the creation date of the parameter release give by name
Returns kFALSE when the release is not found.
Bool_t activateDetIo()
creates the I/O for all detector in the setup
void setDetParIo(Text_t* ioName)
creates the specified I/O
TList* getListOfRuns(const char* experiment,
const char* startAt,const char* endAt)
returns the list of runs for the specifies experiment and range
accepts dates (format DD-MON-YYYY HH24:MI:SS), hld-filenames and run ids
Inline Functions
Bool_t check()
HOraInfo* getOraInfo()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HParOraIo HParOraIo(const HParOraIo&)
HParOraIo& operator=(const HParOraIo&)
Last update: 219/04/2006 by I.Koenig
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.