![]() |
|
|
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 BdbDefPersPushPull< T, P > Class Template Reference
[BdbScribes]#include <BdbDefPersPushPull.hh>
Inheritance diagram for BdbDefPersPushPull< T, P >:
List of all members.
Public Methods
BdbDefPersPushPull (const std::string &aKey, const std::string &aTree) virtual ~BdbDefPersPushPull () virtual bool pushPersistent (BdbEventT &aEvent, const BdbHandle(P)&aPersistent, const BdbAbsPlacementManager &aPlacementManager) const virtual void pullPersistent (BdbHandle(BdbEvtObjP< T >)&aHandleToFill, const BdbEventT &aEvent) const Private Methods
BdbDefPersPushPull () BdbDefPersPushPull (const BdbDefPersPushPull< T, P > &aRhs) const BdbDefPersPushPull<
T, P > &operator= (const BdbDefPersPushPull< T, P > &aRhs) Detailed Description
template<class T, class P>
This class implements the BdbPersistentPushPull class by applying the standard "BdbHdrAccess::put" and "BdbHdrAccess::get" routines to the relevant header of the persistent event.
class BdbDefPersPushPull< T, P >
Definition at line 62 of file BdbDefPersPushPull.hh.
Constructor & Destructor Documentation
template<class T, class P> BdbDefPersPushPull< T, P >::BdbDefPersPushPull ( const std::string & aKey, const std::string & aTree )
Constructs an instance of this class.
- Parameters:
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. Definition at line 71 of file BdbDefPersPushPull.cc.
template<class T, class P> BdbDefPersPushPull< T, P >::~BdbDefPersPushPull ( ) [virtual]
Destroy this instance.
Definition at line 91 of file BdbDefPersPushPull.cc.
template<class T, class P> BdbDefPersPushPull< T, P >::BdbDefPersPushPull ( ) [private]
stops default
template<class T, class P> BdbDefPersPushPull< T, P >::BdbDefPersPushPull ( const BdbDefPersPushPull< T, P > & aRhs ) [private]
stops default
Member Function Documentation
template<class T, class P> const BdbDefPersPushPull< T , P >& BdbDefPersPushPull< T, P >::operator= ( const BdbDefPersPushPull< T, P > & aRhs ) [private]
stops default
template<class T, class P> void BdbDefPersPushPull< T, P >::pullPersistent ( BdbHandle(BdbEvtObjP< T >)& aHandleToFill, const BdbEventT & aEvent ) const [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. Implements BdbAbsPersistentPushPull< P, BdbEvtObjP< T > >.
Definition at line 124 of file BdbDefPersPushPull.cc.
References BdbTreeHdrT::isNull().
template<class T, class P> bool BdbDefPersPushPull< T, P >::pushPersistent ( BdbEventT & aEvent, const BdbHandle(P)& aPersistent, const BdbAbsPlacementManager & aPlacementManager ) const [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.
Implements BdbAbsPersistentPushPull< P, BdbEvtObjP< T > >.
Definition at line 109 of file BdbDefPersPushPull.cc.
References BdbHdrAccessT< P >::put(), and result.
The documentation for this class was generated from the following files:
- /BdbScribes/BdbDefPersPushPull.hh
- /BdbScribes/BdbDefPersPushPull.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002