Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BdbCompositeScribe< T, P > Class Template Reference
[BdbScribes]

#include <BdbCompositeScribe.hh>

Inheritance diagram for BdbCompositeScribe< T, P >:

BdbAbsScribe< HepAList< T >, P, BdbEvtObjP< HepAList< T > > > BdbGenericScribe List of all members.

Public Methods

 BdbCompositeScribe (const IfdKey &aKey, const std::string &aTree, const std::string &aPlacement)
 BdbCompositeScribe (const IfdKey &aKey, const std::string &persname, const std::string &aTree, const std::string &aPlacement)
 BdbCompositeScribe (const IfdKey &aKey, const std::string &aTree, const BdbSingleHintSupplier< HepAList< T >, P, BdbEvtObjP< HepAList< T > > > *aSupplier)
virtual ~BdbCompositeScribe ()

Private Methods

 BdbCompositeScribe ()
 BdbCompositeScribe (const BdbCompositeScribe< T, P > &aRhs)
const BdbCompositeScribe<
T, P > & 
operator= (const BdbCompositeScribe< T, P > &aRhs)

Detailed Description

template<class T, class P>
class BdbCompositeScribe< T, P >

This class constructs a BdbAbsScribe using the "default" classes BdbDefPersPushPull and BdbDefSupplier, and uses the BdbHepAListPushPull class to handle a set of transients stored in a HepAList and which are places into a single persistent object which is a subclass of BdbEvtObjCompositeP, i.e. a many-to-one mapping.

Definition at line 68 of file BdbCompositeScribe.hh.


Constructor & Destructor Documentation

template<class T, class P>
BdbCompositeScribe< T, P >::BdbCompositeScribe const IfdKey &    aKey,
const std::string &    aTree,
const std::string &    aPlacement
 

Constructs an instance of this class.

Parameters:
aKey  the key necessary to place or find the transient object in the the transient Event.
aTree  the name of the tree header in which to place the persistent object.
aPlacement  the name of the placement policy to use when creating the persistent object.
aStrategy  the strategy object to use to do the convertion.

Definition at line 72 of file BdbCompositeScribe.cc.

template<class T, class P>
BdbCompositeScribe< T, P >::BdbCompositeScribe const IfdKey &    aKey,
const std::string &    persname,
const std::string &    aTree,
const std::string &    aPlacement
 

Definition at line 88 of file BdbCompositeScribe.cc.

template<class T, class P>
BdbCompositeScribe< T, P >::BdbCompositeScribe const IfdKey &    aKey,
const std::string &    aTree,
const BdbSingleHintSupplier< HepAList< T >, P, BdbEvtObjP< HepAList< T > > > *    aSupplier
 

Constructs an instance of this class.

Parameters:
aKey  the key necessary to place or find the transient object in the the transient Event.
aTree  the name of the tree header in which to place the persistent object.
aSupplier  the supplier to use to convert the contents of transient lists into a Compsite class.

Definition at line 100 of file BdbCompositeScribe.cc.

template<class T, class P>
BdbCompositeScribe< T, P >::~BdbCompositeScribe   [virtual]
 

Destroys this instance.

Definition at line 127 of file BdbCompositeScribe.cc.

template<class T, class P>
BdbCompositeScribe< T, P >::BdbCompositeScribe   [private]
 

stops default

template<class T, class P>
BdbCompositeScribe< T, P >::BdbCompositeScribe const BdbCompositeScribe< T, P > &    aRhs [private]
 

stops default


Member Function Documentation

template<class T, class P>
const BdbCompositeScribe< T , P >& BdbCompositeScribe< T, P >::operator= const BdbCompositeScribe< T, P > &    aRhs [private]
 

stops default


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