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  

BdbCollectionTInspector Class Reference
[BdbEventStore]

#include <BdbCollectionTInspector.hh>

List of all members.

Public Methods

 BdbCollectionTInspector (d_Boolean autoCommit=d_True)
virtual ~BdbCollectionTInspector ()
d_Boolean exist (const char *treepath)
BdbStatus scan ()
BdbStatus scan (BdbDomain::AuthLevels level, const char *root=0)
BdbStatus scan (const char *treepath)
BdbStatus scan (BdbHandle(BdbDBObj)&db)
BdbStatus scanDatabase (const char *dbname)
BdbAbsCollectionT< BdbEventT > * next ()
void reset ()
void clear ()

Protected Methods

BdbStatus scan (BdbTreeNode &node)

Private Methods

 ooVArray (BdbAbsCollPtr) _colls

Private Attributes

int _nbcolls
int _nxtcoll
d_Boolean _autoCommit


Constructor & Destructor Documentation

BdbCollectionTInspector::BdbCollectionTInspector d_Boolean    autoCommit = d_True
 

Definition at line 46 of file BdbCollectionTInspector.cc.

References _autoCommit, _nbcolls, and _nxtcoll.

BdbCollectionTInspector::~BdbCollectionTInspector   [virtual]
 

Definition at line 55 of file BdbCollectionTInspector.cc.


Member Function Documentation

void BdbCollectionTInspector::clear  
 

Definition at line 225 of file BdbCollectionTInspector.cc.

References _nbcolls, and _nxtcoll.

d_Boolean BdbCollectionTInspector::exist const char *    treepath
 

Definition at line 202 of file BdbCollectionTInspector.cc.

References BdbcSuccess, and BdbTreeNode::moveTo().

BdbAbsCollectionT< BdbEventT > * BdbCollectionTInspector::next  
 

Definition at line 211 of file BdbCollectionTInspector.cc.

References _nbcolls, and _nxtcoll.

BdbCollectionTInspector::ooVArray BdbAbsCollPtr    [private]
 

void BdbCollectionTInspector::reset  
 

Definition at line 219 of file BdbCollectionTInspector.cc.

References _nxtcoll.

BdbStatus BdbCollectionTInspector::scan BdbTreeNode   node [protected]
 

Definition at line 59 of file BdbCollectionTInspector.cc.

References _nbcolls, BdbcSuccess, BdbHandle, BdbHandleAny, BdbStatus, BdbDomainOODB::commit(), BdbEventStore::getCollection(), BdbEventStore::instance(), BdbTreeNodeP::isTreeNode(), BdbTreeNodeSimpleIterator::next(), BdbEventStore::readAttempt(), scan(), BdbTreeNode::setPersistent(), and BdbDomainOODB::startRead().

BdbStatus BdbCollectionTInspector::scan BdbHandle(BdbDBObj)&    db
 

Definition at line 167 of file BdbCollectionTInspector.cc.

References _nbcolls, BdbcError, BdbcSuccess, BdbDBObj, BdbItr, BdbStatus, BdbDomainOODB::commit(), BdbEventStore::getCollection(), BdbEventStore::instance(), and BdbDomainOODB::startRead().

BdbStatus BdbCollectionTInspector::scan const char *    treepath
 

Definition at line 141 of file BdbCollectionTInspector.cc.

References _autoCommit, BdbcError, BdbcNoOpen, BdbcSuccess, BdbStatus, BdbDomainOODB::commit(), d_False, d_True, BdbEventStore::instance(), BdbDomainOODB::mode(), BdbTreeNode::moveTo(), scan(), and BdbDomainOODB::startRead().

BdbStatus BdbCollectionTInspector::scan BdbDomain::AuthLevels    level,
const char *    root = 0
 

Definition at line 116 of file BdbCollectionTInspector.cc.

References _autoCommit, BdbDomainAuth::AuthLevels, BdbcError, BdbcNoOpen, BdbcSuccess, BdbStatus, BdbDomainOODB::commit(), d_False, d_True, BdbEventStore::instance(), BdbDomainOODB::mode(), scan(), BdbDomainOODB::startRead(), and BdbEventStore::treeNode().

BdbStatus BdbCollectionTInspector::scan  
 

Definition at line 92 of file BdbCollectionTInspector.cc.

References _autoCommit, BdbcError, BdbcNoOpen, BdbcSuccess, BdbStatus, BdbDomainOODB::commit(), d_False, d_True, BdbEventStore::instance(), BdbDomainOODB::mode(), BdbEventStoreIterator::next(), and BdbDomainOODB::startRead().

Referenced by scan(), and scanDatabase().

BdbStatus BdbCollectionTInspector::scanDatabase const char *    dbname
 

Definition at line 194 of file BdbCollectionTInspector.cc.

References BdbcError, BdbcRead, BdbcSuccess, BdbDBObj, BdbHandle, BdbStatus, BdbEventStore::instance(), and scan().


Member Data Documentation

d_Boolean BdbCollectionTInspector::_autoCommit [private]
 

Definition at line 117 of file BdbCollectionTInspector.hh.

Referenced by BdbCollectionTInspector(), and scan().

int BdbCollectionTInspector::_nbcolls [private]
 

Definition at line 115 of file BdbCollectionTInspector.hh.

Referenced by BdbCollectionTInspector(), clear(), next(), and scan().

int BdbCollectionTInspector::_nxtcoll [private]
 

Definition at line 116 of file BdbCollectionTInspector.hh.

Referenced by BdbCollectionTInspector(), clear(), next(), and reset().


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