Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members
CdbHistoryBrowser Class ReferenceThis class provides a high level interface to the history records. More...
List of all members.
CdbHistoryBrowser (CdbPtr theCdb=0) The default and normal constructor. CdbHistoryBrowser (const CdbHistoryBrowser &theBrowser) The copy constructor. virtual ~CdbHistoryBrowser () The destructor. CdbHistoryBrowser & operator= (const CdbHistoryBrowser &theBrowser) The assignment operator. const CdbPtr & parent () const Return a pointer to the parent object. CdbStatus iterator (CdbHistoryEventItr &theItr, const char *theQuery) Make a query defined in the SQL alike language.
Detailed DescriptionThis class provides a high level interface to the history records.
This class provides various query interfaces to the persistent history records found at all levels of the Conditions/DB. One of the forms of making queries is to specify requests defined in SQL alike language. The other simpler forms are also provided. The history events obtained from different sources are joined and sorted according to their timestamps.
Note, that objects of this class operate in the context of a specific Cdb object passed to the constructor of the current class.
- See also:
Definition at line 21 of file CdbHistoryBrowser.hh.
Constructor & Destructor Documentation
CdbHistoryBrowser::CdbHistoryBrowser ( CdbPtr theCdb = 0 )
The default and normal constructor.
Takes a backlink to the parent API object. It can be a pointer pointing onto the null object. Then a default object will be found.
thePtr the back link to the parent object
CdbHistoryBrowser::CdbHistoryBrowser ( const CdbHistoryBrowser & theBrowser )
The copy constructor.
CdbHistoryBrowser::~CdbHistoryBrowser ( )
Member Function Documentation
CdbStatus CdbHistoryBrowser::iterator ( CdbHistoryEventItr & theItr, const char * theQuery )
Make a query defined in the SQL alike language.
Result is returned through a specified iterator to the history events. The iterator will be set into a "valid" state upon successfull completion.
- completion status
theItr an iterator to be initialized theQuery the query specification
CdbHistoryBrowser & CdbHistoryBrowser::operator= ( const CdbHistoryBrowser & theBrowser )
The assignment operator.
const CdbPtr & CdbHistoryBrowser::parent ( )
Return a pointer to the parent object.
Referenced by CdbBdbTestCompilation::miscClasses().
Member Data Documentation
The documentation for this class was generated from the following files:
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002