![]() |
|
|
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 BdbTreeCollectionT< T > Class Template Reference
[BdbEventStore]#include <BdbTreeCollectionT.hh>
Inheritance diagram for BdbTreeCollectionT< T >:
List of all members.
Public Methods
virtual ~BdbTreeCollectionT () virtual BdbCollectionTIterator<
T > *getIterator (d_ULong initialIndex=0) const virtual BdbCollTItemIterator<
T > *getCollItemIterator (d_ULong initialIndex=0) const virtual BdbStatus add (T &anItem) virtual BdbStatus addCollection (BdbAbsCollectionT< T > &theOther) virtual BdbStatus removeCollection (BdbAbsCollectionT< T > &theOther) virtual BdbStatus collection (BdbAbsCollectionT< T > &theColl, d_ULong index) const BdbAbsCollectionT< T > * collItem (d_ULong index) const BdbHandle (BdbCollectionP) component() const void deleteObject () Protected Methods
BdbTreeCollectionT (BdbHandleAny &theHint, BdbHandle(BdbTreeNodeP)&theNode, const char *const theName, d_ULong theSize=0) BdbTreeCollectionT (BdbHandle(BdbTreeCollectionP)&theColl) Friends
class BdbTreeCollTFactory< T > class BdbEventStore class BdbTreeCollectionP template<class T>
class BdbTreeCollectionT< T >Constructor & Destructor Documentation
template<class T> BdbTreeCollectionT< T >::~BdbTreeCollectionT ( ) [virtual]
Definition at line 43 of file BdbTreeCollectionT.cc.
template<class T> BdbTreeCollectionT< T >::BdbTreeCollectionT ( BdbHandleAny & theHint, BdbHandle(BdbTreeNodeP)& theNode, const char *const theName, d_ULong theSize = 0 ) [protected]
Definition at line 243 of file BdbTreeCollectionT.cc.
References BdbcSuccess, BdbcUserError, BdbTreeCollectionT< T >::BdbHandle(), BdbHandleAny, BdbIsNull, BdbSignal, BdbStatus, BdbTreeCollectionT< T >::BdbTreeCollectionP, and BdbAbsWrapper::setObject().
template<class T> BdbTreeCollectionT< T >::BdbTreeCollectionT ( BdbHandle(BdbTreeCollectionP)& theColl ) [protected]
Definition at line 268 of file BdbTreeCollectionT.cc.
Member Function Documentation
template<class T> BdbStatus BdbTreeCollectionT< T >::add ( T & anItem ) [virtual]
Add an item to the collection
Reimplemented from BdbAbsCollectionT< T >.
Definition at line 69 of file BdbTreeCollectionT.cc.
References BdbAbsCollectionT< T >::add(), BdbcSuccess, BdbcUserError, BdbTreeCollectionT< T >::BdbHandle(), BdbHandleAny, BdbSignal, BdbStatus, BdbVectorCollTFactory< T >::createAnonymousCollection(), BdbDomainName::DomainNames, BdbDomainName::Events, BdbTreeCollectionP::initialSize(), BdbEventStore::instance(), BdbAbsCollectionT< T >::name(), result, BdbSpClusteringHint::setComponent(), and BdbDomainOODB::updateAndWait().
template<class T> BdbStatus BdbTreeCollectionT< T >::addCollection ( BdbAbsCollectionT< T > & theOther ) [virtual]
Add the contents of another collection to this one
Implements BdbAbsCollectionT< T >.
Definition at line 113 of file BdbTreeCollectionT.cc.
References BdbcError, BdbcSuccess, BdbcUserError, BdbTreeCollectionT< T >::BdbHandle(), BdbSignal, BdbStatus, BdbAbsCollectionT< T >::containsCollection(), BdbDomainName::DomainNames, BdbDomainName::Events, BdbEventStore::instance(), BdbAbsCollectionT< T >::name(), result, and BdbDomainOODB::updateAndWait().
template<class T> BdbTreeCollectionT< T >::BdbHandle ( BdbCollectionP ) const [virtual]
The persistent component collection into which the next event will be added
Reimplemented from BdbAbsCollectionT< T >.
Referenced by BdbTreeCollectionT< T >::add(), BdbTreeCollectionT< T >::addCollection(), BdbTreeCollectionT< T >::BdbTreeCollectionT(), BdbTreeCollectionT< T >::collection(), BdbTreeCollectionT< T >::collItem(), BdbTreeCollectionT< T >::deleteObject(), and BdbTreeCollectionT< T >::removeCollection().
template<class T> BdbStatus BdbTreeCollectionT< T >::collection ( BdbAbsCollectionT< T > & theColl, d_ULong index ) const [virtual]
Return specified collection
Definition at line 185 of file BdbTreeCollectionT.cc.
References BdbTreeCollectionT< T >::BdbHandle(), BdbStatus, result, and BdbAbsCollectionT< T >::setPersistent().
template<class T> BdbAbsCollectionT< T > * BdbTreeCollectionT< T >::collItem ( d_ULong index ) const [virtual]
Return specified collection
Implements BdbAbsCollectionT< T >.
Definition at line 209 of file BdbTreeCollectionT.cc.
References BdbTreeCollectionT< T >::BdbHandle(), BdbIsNull, BdbStatus, BdbEventStore::getCollection(), and result.
template<class T> void BdbTreeCollectionT< T >::deleteObject ( ) [virtual]
Reimplemented from BdbAbsWrapper.
Definition at line 225 of file BdbTreeCollectionT.cc.
References BdbTreeCollectionT< T >::BdbHandle(), and BdbAbsWrapper::deleteObject().
template<class T> BdbCollTItemIterator< T > * BdbTreeCollectionT< T >::getCollItemIterator ( d_ULong initialIndex = 0 ) const [virtual]
- Returns:
- a BdbCollTItemIterator to use with this collection. the client owns the returned iterator.
Implements BdbAbsCollectionT< T >.
Definition at line 60 of file BdbTreeCollectionT.cc.
template<class T> BdbCollectionTIterator< T > * BdbTreeCollectionT< T >::getIterator ( d_ULong initialIndex = 0 ) const [virtual]
- Returns:
- a BdbCollectionTIterator to use with this collection. the client owns the returned iterator.
Implements BdbAbsCollectionT< T >.
Definition at line 53 of file BdbTreeCollectionT.cc.
template<class T> BdbStatus BdbTreeCollectionT< T >::removeCollection ( BdbAbsCollectionT< T > & theOther ) [virtual]
Remove the contents of another collection from this one
Implements BdbAbsCollectionT< T >.
Definition at line 157 of file BdbTreeCollectionT.cc.
References BdbcSuccess, BdbcUserError, BdbTreeCollectionT< T >::BdbHandle(), BdbSignal, BdbStatus, BdbAbsCollectionT< T >::containsCollection(), BdbDomainName::DomainNames, BdbDomainName::Events, BdbEventStore::instance(), BdbAbsCollectionT< T >::name(), result, and BdbDomainOODB::updateAndWait().
Friends And Related Function Documentation
template<class T> friend class BdbEventStore [friend]
Definition at line 108 of file BdbTreeCollectionT.hh.
template<class T> friend class BdbTreeCollectionP [friend]
Definition at line 109 of file BdbTreeCollectionT.hh.
Referenced by BdbTreeCollectionT< T >::BdbTreeCollectionT().
template<class T> friend class BdbTreeCollTFactory< T > [friend]
Definition at line 107 of file BdbTreeCollectionT.hh.
The documentation for this class was generated from the following files:
- /BdbEventStore/BdbTreeCollectionT.hh
- /BdbEventStore/BdbTreeCollectionT.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002