![]() |
|
|
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 BdbIntervalItr Class Reference
[BdbCond]#include <BdbIntervalItr.hh>
Public Methods
BdbIntervalItr () BdbIntervalItr (const BdbIntervalItr &theItr) virtual ~BdbIntervalItr () BdbIntervalItr & operator= (const BdbIntervalItr &theItr) operator BdbIntervalBase & () const operator BdbHandle (BdbInterval)&() const operator BdbHandle (BdbIntervalR)&() const bool setBaseline (const char *theDetector, const char *theContainer, const BdbTime &theBeginTime=BdbTime::minusInfinity) bool setTopmost (const char *theDetector, const char *theContainer, const BdbTime &theBeginTime=BdbTime::minusInfinity) bool setRevision (const char *theDetector, const char *theContainer, d_ULong theRevisionId=BdbCondRevision::BASELINE, const BdbTime &theBeginTime=BdbTime::minusInfinity) bool next () void reset () Private Types
enum Direction { DIRECTION_UNKNOWN, DIRECTION_BASELINE, DIRECTION_TOPMOST, DIRECTION_REVISION } Private Methods
void clearContext () BdbStatus getFirstBaselineInterval (BdbHandle(BdbIntervalR)&theIntervalH, const char *theContainer, const BdbTime &theBeginTime) BdbStatus getFirstTopmostInterval (BdbHandle(BdbIntervalR)&theIntervalH, const char *theContainer, const BdbTime &theBeginTime) BdbStatus getFirstRevisedInterval (BdbHandle(BdbIntervalR)&theIntervalH, BdbHandle(BdbIntervalR)&theTopmostIntervalH, const char *theContainer, d_ULong theRevisionId, const BdbTime &theBeginTime) BdbStatus getNextRevisedInterval (BdbHandle(BdbIntervalR)&theIntervalH, BdbHandle(BdbIntervalR)&theTopmostIntervalH) BdbHandle (BdbIntervalR) _nextH BdbHandle (BdbIntervalR) _topmostH Private Attributes
Direction _direction d_String _detector d_String _container d_ULong _revisionId BdbTime _beginTime BdbObsoleteDatabase * _db bool _initialized Member Enumeration Documentation
enum BdbIntervalItr::Direction [private]
Definition at line 63 of file BdbIntervalItr.hh.
Constructor & Destructor Documentation
BdbIntervalItr::BdbIntervalItr ( )
Definition at line 67 of file BdbIntervalItr.cc.
References clearContext().
BdbIntervalItr::BdbIntervalItr ( const BdbIntervalItr & theItr )
Definition at line 73 of file BdbIntervalItr.cc.
References _beginTime, _container, _db, _detector, _direction, _initialized, and _revisionId.
BdbIntervalItr::~BdbIntervalItr ( ) [virtual]
Definition at line 90 of file BdbIntervalItr.cc.
References clearContext().
Member Function Documentation
BdbIntervalItr::BdbHandle ( BdbIntervalR ) [private]
BdbIntervalItr::BdbHandle ( BdbIntervalR ) [private]
Referenced by getNextRevisedInterval(), next(), setBaseline(), setRevision(), and setTopmost().
void BdbIntervalItr::clearContext ( ) [private]
Definition at line 439 of file BdbIntervalItr.cc.
References _beginTime, _container, _db, _detector, _direction, _initialized, _revisionId, BdbCondRevision::BASELINE, DIRECTION_UNKNOWN, and BdbTime::minusInfinity.
Referenced by BdbIntervalItr(), next(), setBaseline(), setRevision(), setTopmost(), and ~BdbIntervalItr().
BdbStatus BdbIntervalItr::getFirstBaselineInterval ( BdbHandle(BdbIntervalR)& theIntervalH, const char * theContainer, const BdbTime & theBeginTime ) [private]
Definition at line 453 of file BdbIntervalItr.cc.
References _db, BdbcSuccess, BdbStatus, BdbDatabase::firstInterval(), BdbDatabase::getBaselineInterval(), and BdbTime::minusInfinity.
Referenced by next(), and setBaseline().
BdbStatus BdbIntervalItr::getFirstRevisedInterval ( BdbHandle(BdbIntervalR)& theIntervalH, BdbHandle(BdbIntervalR)& theTopmostIntervalH, const char * theContainer, d_ULong theRevisionId, const BdbTime & theBeginTime ) [private]
Definition at line 513 of file BdbIntervalItr.cc.
References _db, BdbcSuccess, BdbStatus, BdbDatabase::firstInterval(), BdbDatabase::getRevisedInterval(), BdbDatabase::getTopmostInterval(), and BdbTime::minusInfinity.
Referenced by next(), and setRevision().
BdbStatus BdbIntervalItr::getFirstTopmostInterval ( BdbHandle(BdbIntervalR)& theIntervalH, const char * theContainer, const BdbTime & theBeginTime ) [private]
Definition at line 483 of file BdbIntervalItr.cc.
References _db, BdbcSuccess, BdbStatus, BdbDatabase::firstInterval(), BdbDatabase::getTopmostInterval(), and BdbTime::minusInfinity.
Referenced by next(), and setTopmost().
BdbStatus BdbIntervalItr::getNextRevisedInterval ( BdbHandle(BdbIntervalR)& theIntervalH, BdbHandle(BdbIntervalR)& theTopmostIntervalH ) [private]
Definition at line 553 of file BdbIntervalItr.cc.
References _container, _db, _revisionId, BdbcError, BdbcSuccess, BdbHandle(), BdbIsNull, BdbStatus, BdbIntervalBase::getBeginTime(), and BdbDatabase::getRevisedInterval().
Referenced by next().
bool BdbIntervalItr::next ( )
BdbIntervalItr::operator BdbHandle ( BdbIntervalR ) const
BdbIntervalItr::operator BdbHandle ( BdbInterval ) const
Definition at line 120 of file BdbIntervalItr.cc.
References BdbHandle.
BdbIntervalItr::operator BdbIntervalBase & ( )
Definition at line 115 of file BdbIntervalItr.cc.
BdbIntervalItr & BdbIntervalItr::operator= ( const BdbIntervalItr & theItr )
Definition at line 100 of file BdbIntervalItr.cc.
References _beginTime, _container, _db, _detector, _direction, _initialized, and _revisionId.
void BdbIntervalItr::reset ( )
Definition at line 432 of file BdbIntervalItr.cc.
References _initialized.
Referenced by CdbBdbWObjectItr::reset().
bool BdbIntervalItr::setBaseline ( const char * theDetector, const char * theContainer, const BdbTime & theBeginTime = BdbTime::minusInfinity )
Definition at line 135 of file BdbIntervalItr.cc.
References _beginTime, _container, _db, _detector, _direction, BdbcSuccess, BdbHandle(), BdbStatus, clearContext(), DIRECTION_BASELINE, and getFirstBaselineInterval().
Referenced by cmd_analyze(), cmd_print_baseline_list(), cmd_verify(), BdbCondDatabaseMgr::deleteObjects(), BdbCondRInfoLoader::load(), BdbCondContainerProfile::measure(), BdbCondDatabaseMgr::nanoCorrection(), and CdbBdbWCondition::objectIterator().
bool BdbIntervalItr::setRevision ( const char * theDetector, const char * theContainer, d_ULong theRevisionId = BdbCondRevision::BASELINE, const BdbTime & theBeginTime = BdbTime::minusInfinity )
Definition at line 219 of file BdbIntervalItr.cc.
References _beginTime, _container, _db, _detector, _direction, _revisionId, BdbcSuccess, BdbHandle(), BdbStatus, clearContext(), DIRECTION_REVISION, and getFirstRevisedInterval().
Referenced by cmd_print_revision_list(), and CdbBdbWCondition::objectIterator().
bool BdbIntervalItr::setTopmost ( const char * theDetector, const char * theContainer, const BdbTime & theBeginTime = BdbTime::minusInfinity )
Definition at line 177 of file BdbIntervalItr.cc.
References _beginTime, _container, _db, _detector, _direction, BdbcSuccess, BdbHandle(), BdbStatus, clearContext(), DIRECTION_TOPMOST, and getFirstTopmostInterval().
Referenced by cmd_convert_condition(), cmd_print_top_list(), cmd_produce(), cmd_revise_top(), cmd_revise_top_many(), cmd_verify(), cmd_verify_config(), BdbCondContainerProfile::measure(), and CdbBdbWCondition::objectIterator().
Member Data Documentation
BdbTime BdbIntervalItr::_beginTime [private]
Definition at line 141 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), next(), operator=(), setBaseline(), setRevision(), and setTopmost().
d_String BdbIntervalItr::_container [private]
Definition at line 139 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), getNextRevisedInterval(), next(), operator=(), setBaseline(), setRevision(), and setTopmost().
BdbObsoleteDatabase* BdbIntervalItr::_db [private]
Definition at line 143 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), getFirstBaselineInterval(), getFirstRevisedInterval(), getFirstTopmostInterval(), getNextRevisedInterval(), operator=(), setBaseline(), setRevision(), and setTopmost().
d_String BdbIntervalItr::_detector [private]
Definition at line 138 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), next(), operator=(), setBaseline(), setRevision(), and setTopmost().
Direction BdbIntervalItr::_direction [private]
Definition at line 134 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), operator=(), setBaseline(), setRevision(), and setTopmost().
bool BdbIntervalItr::_initialized [private]
Definition at line 145 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), next(), operator=(), and reset().
d_ULong BdbIntervalItr::_revisionId [private]
Definition at line 140 of file BdbIntervalItr.hh.
Referenced by BdbIntervalItr(), clearContext(), getNextRevisedInterval(), next(), operator=(), and setRevision().
The documentation for this class was generated from the following files:
- /BdbCond/BdbIntervalItr.hh
- /BdbCond/BdbIntervalItr.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002