![]() |
|
|
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 BdbTreeCollTFactory< T > Class Template Reference
[BdbEventStore]#include <BdbTreeCollTFactory.hh>
Inheritance diagram for BdbTreeCollTFactory< T >:
List of all members.
Public Methods
BdbTreeCollTFactory (BdbAbstractClusteringHint &theCollectionHint, BdbAbstractClusteringHint &theTreeNodeHint) virtual ~BdbTreeCollTFactory () virtual const char * typeName () const virtual BdbStatus existsError (const char *theName) const virtual BdbStatus lockError (const BdbRefAny &persObj) const virtual BdbStatus nameError () const virtual BdbStatus authError (const char *theName) const Private Methods
BdbTreeCollTFactory () BdbTreeCollTFactory (const BdbTreeCollTFactory< T > &aRhs) const BdbTreeCollTFactory<
T > &operator= (const BdbTreeCollTFactory< T > &aRhs) virtual BdbAbsCollectionT<
T > *createCollectionAtNode (BdbHandleAny &theHint, BdbHandle(BdbTreeNodeP)&theNode, const char *theName, d_ULong theInitialSize) Detailed Description
template<class T>
The BdbTreeCollTFactory class is the implementation of BdbCollectionTFactory for BdbTreeCollectionTs
class BdbTreeCollTFactory< T >
Definition at line 67 of file BdbTreeCollTFactory.hh.
Constructor & Destructor Documentation
template<class T> BdbTreeCollTFactory< T >::BdbTreeCollTFactory ( BdbAbstractClusteringHint & theCollectionHint, BdbAbstractClusteringHint & theTreeNodeHint )
Constructs an instanace of this class.
Definition at line 78 of file BdbTreeCollTFactory.cc.
template<class T> BdbTreeCollTFactory< T >::~BdbTreeCollTFactory ( ) [virtual]
Destroys this instance.
Definition at line 100 of file BdbTreeCollTFactory.cc.
template<class T> BdbTreeCollTFactory< T >::BdbTreeCollTFactory ( ) [private]
stops default
template<class T> BdbTreeCollTFactory< T >::BdbTreeCollTFactory ( const BdbTreeCollTFactory< T > & aRhs ) [private]
stops default
Member Function Documentation
template<class T> BdbStatus BdbTreeCollTFactory< T >::authError ( const char * theName ) const [virtual]
action to take when there is an authorization failure
Implements BdbCollectionTFactory< T >.
Definition at line 176 of file BdbTreeCollTFactory.cc.
References BdbcUserError, BdbSignal, BdbCollectionTFactory< T >::getResult(), and BdbCollectionTFactory< T >::kAuthFailure.
template<class T> BdbAbsCollectionT< T > * BdbTreeCollTFactory< T >::createCollectionAtNode ( BdbHandleAny & theHint, BdbHandle(BdbTreeNodeP)& theNode, const char * theName, d_ULong theInitialSize ) [private, virtual]
- Returns:
- the collection created by the factory at the specified node
Reimplemented from BdbCollectionTFactory< T >.
Definition at line 194 of file BdbTreeCollTFactory.cc.
References BdbHandleAny, BdbEventStore::instance(), BdbOptBridgeOnly::isSet(), and BdbTreeCollTFactory< T >::typeName().
template<class T> BdbStatus BdbTreeCollTFactory< T >::existsError ( const char * theName ) const [virtual]
action to take when the collection already exists
Implements BdbCollectionTFactory< T >.
Definition at line 126 of file BdbTreeCollTFactory.cc.
References BdbCollectionTFactory< T >::getResult(), and BdbCollectionTFactory< T >::kExistsFailure.
template<class T> BdbStatus BdbTreeCollTFactory< T >::lockError ( const BdbRefAny & persObj ) const [virtual]
action to take when the collection can not be updated
Implements BdbCollectionTFactory< T >.
Definition at line 141 of file BdbTreeCollTFactory.cc.
References BdbcUserError, BdbRefAny, BdbSignal, BdbCollectionTFactory< T >::getResult(), and BdbCollectionTFactory< T >::kLockFailure.
template<class T> BdbStatus BdbTreeCollTFactory< T >::nameError ( ) [virtual]
action to take when no name is specfied for a collection
Implements BdbCollectionTFactory< T >.
Definition at line 163 of file BdbTreeCollTFactory.cc.
References BdbcUserError, BdbSignal, BdbCollectionTFactory< T >::getResult(), and BdbCollectionTFactory< T >::kNameFailure.
template<class T> const BdbTreeCollTFactory< T >& BdbTreeCollTFactory< T >::operator= ( const BdbTreeCollTFactory< T > & aRhs ) [private]
stops default
template<class T> const char * BdbTreeCollTFactory< T >::typeName ( ) [virtual]
- Returns:
- the name of the type of collection this factory creates
Implements BdbCollectionTFactory< T >.
Definition at line 119 of file BdbTreeCollTFactory.cc.
Referenced by BdbTreeCollTFactory< T >::createCollectionAtNode().
The documentation for this class was generated from the following files:
- /BdbEventStore/BdbTreeCollTFactory.hh
- /BdbEventStore/BdbTreeCollTFactory.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002