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  

BdbAbsPersistentPushPull< P, I > Class Template Reference
[BdbScribes]

#include <BdbAbsPersistentPushPull.hh>

Inheritance diagram for BdbAbsPersistentPushPull< P, I >:

BdbPersistentPushPull< P, I > List of all members.

Public Methods

 BdbAbsPersistentPushPull ()
virtual ~BdbAbsPersistentPushPull ()
virtual bool pushPersistent (BdbEventT &aEvent, const BdbHandle(P)&aPersistent, const BdbAbsPlacementManager &aPlacementManager) const=0
virtual void pullPersistent (BdbHandle(I)&aHandleToFill, const BdbEventT &aEvent) const=0
virtual void reset () const

Private Methods

 BdbAbsPersistentPushPull (const BdbAbsPersistentPushPull< P, I > &aRhs)
const BdbAbsPersistentPushPull<
P, I > & 
operator= (const BdbAbsPersistentPushPull< P, I > &aRhs)

Detailed Description

template<class P, class I>
class BdbAbsPersistentPushPull< P, I >

This templated interface class defines the operations used by BdbAbsScribe to insert and retrieve the persistent representation from the persistent event.

Definition at line 61 of file BdbAbsPersistentPushPull.hh.


Constructor & Destructor Documentation

template<class P, class I>
BdbAbsPersistentPushPull< P, I >::BdbAbsPersistentPushPull  
 

Constructs an instance of this class.

Definition at line 66 of file BdbAbsPersistentPushPull.cc.

template<class P, class I>
BdbAbsPersistentPushPull< P, I >::~BdbAbsPersistentPushPull   [virtual]
 

Destroys this instance.

Definition at line 79 of file BdbAbsPersistentPushPull.cc.

template<class P, class I>
BdbAbsPersistentPushPull< P, I >::BdbAbsPersistentPushPull const BdbAbsPersistentPushPull< P, I > &    aRhs [private]
 

stops default


Member Function Documentation

template<class P, class I>
const BdbAbsPersistentPushPull< P , I >& BdbAbsPersistentPushPull< P, I >::operator= const BdbAbsPersistentPushPull< P, I > &    aRhs [private]
 

stops default

template<class P, class I>
virtual void BdbAbsPersistentPushPull< P, I >::pullPersistent BdbHandle(I)&    aHandleToFill,
const BdbEventT   aEvent
const [pure virtual]
 

Retrieves the persistent P from the event.

Parameters:
aHandleToFill  the BdbHandle to fill with the reference to the requested persistent object
aEvent  the AbsEvent from which to pull the persistent object.

Implemented in BdbAListPPushPull< T, P >, and BdbDefPersPushPull< T, P >.

template<class P, class I>
virtual bool BdbAbsPersistentPushPull< P, I >::pushPersistent BdbEventT   aEvent,
const BdbHandle(P)&    aPersistent,
const BdbAbsPlacementManager   aPlacementManager
const [pure virtual]
 

Inserts the persistent P to the event.

Parameters:
aEvent  the AbsEvent into which to push the persistent object.
aPersistent  the persistent object to push.
Returns:
true is push is successful.

Implemented in BdbDefPersPushPull< T, P >.

template<class T, class P>
void BdbAbsPersistentPushPull< T, P >::reset   [virtual]
 

Resets any cached information in the implementation

Definition at line 97 of file BdbAbsPersistentPushPull.cc.


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