![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members CdbHistoryBrowser Class Reference
This class provides a high level interface to the history records. More...
[CdbAdmin]
#include <CdbHistoryBrowser.hh>
Public Methods
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. Private Attributes
CdbPtr _myParent Detailed Description
This 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:
- Cdb
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.
- Parameters:
thePtr the back link to the parent object Definition at line 12 of file CdbHistoryBrowser.cc.
CdbHistoryBrowser::CdbHistoryBrowser ( const CdbHistoryBrowser & theBrowser )
The copy constructor.
Details...
Definition at line 16 of file CdbHistoryBrowser.cc.
CdbHistoryBrowser::~CdbHistoryBrowser ( ) [virtual]
The destructor.
More details...
Definition at line 20 of file CdbHistoryBrowser.cc.
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.
- See also:
- CdbIItr::isValid() , CdbHistoryEventItr , CdbStatus
- Returns:
- completion status
- Parameters:
theItr an iterator to be initialized theQuery the query specification Definition at line 39 of file CdbHistoryBrowser.cc.
References cout, and CdbStatus::Error.
CdbHistoryBrowser & CdbHistoryBrowser::operator= ( const CdbHistoryBrowser & theBrowser )
The assignment operator.
Details...
Definition at line 24 of file CdbHistoryBrowser.cc.
References _myParent.
const CdbPtr & CdbHistoryBrowser::parent ( )
Return a pointer to the parent object.
Definition at line 33 of file CdbHistoryBrowser.cc.
References _myParent.
Referenced by CdbBdbTestCompilation::miscClasses().
Member Data Documentation
CdbPtr CdbHistoryBrowser::_myParent [private]
Definition at line 77 of file CdbHistoryBrowser.hh.
Referenced by operator=(), and parent().
The documentation for this class was generated from the following files:
- /CdbAdmin/CdbHistoryBrowser.hh
- /CdbAdmin/CdbHistoryBrowser.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002