![]() |
|
|
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 BdbCondConverter< T, P > Class Template Reference
[BdbCond]#include <BdbCondConverter.hh>
Public Methods
BdbCondConverter () virtual ~BdbCondConverter () int run (BdbObsoleteDatabase &db, const char *container, BdbCondAbsWriter< T > &writer) Detailed Description
template<class T, class P>
Objects of this class iterate over Objectivity persistent objects for a specified type of conditions data and convert them to another format using the a specified writer of the transient conditions data type. Look at the RooCond package for an example of using this class. The template parameters are the transient conditions data type to convert, and its corresponding Objectivity persistent class.
class BdbCondConverter< T, P >
Definition at line 26 of file BdbCondConverter.hh.
Constructor & Destructor Documentation
template<class T, class P> BdbCondConverter< T, P >::BdbCondConverter ( ) [inline]
Definition at line 28 of file BdbCondConverter.hh.
template<class T, class P> virtual BdbCondConverter< T, P >::~BdbCondConverter ( ) [inline, virtual]
Definition at line 29 of file BdbCondConverter.hh.
Member Function Documentation
template<class T, class P> int BdbCondConverter< T, P >::run ( BdbObsoleteDatabase & db, const char * container, BdbCondAbsWriter< T > & writer )
Definition at line 23 of file BdbCondConverter.cc.
References BdbcNoOpen, BdbHandle, BdbCondAbsWriter< T >::commit(), BdbDomainOODB::commit(), cout, BdbDatabase::firstInterval(), BdbConditions::instance(), BdbDomainOODB::mode(), BdbDomainOODB::startRead(), and BdbCondAbsWriter< T >::store().
The documentation for this class was generated from the following files:
- /BdbCond/BdbCondConverter.hh
- /BdbCond/BdbCondConverter.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002