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  

BdbIntervalBase Class Reference
[BdbTime]

#include <BdbIntervalBase.hh>

Inheritance diagram for BdbIntervalBase:

BdbInterval BdbIntervalR List of all members.

Public Methods

 BdbIntervalBase (const BdbTime &startTime=BdbTime::minusInfinity, const BdbTime &endTime=BdbTime::plusInfinity)
 BdbIntervalBase (const BdbIntervalBase &other)
virtual ~BdbIntervalBase ()
BdbIntervalBase & operator= (const BdbIntervalBase &other)
BdbTime getBeginTime () const
BdbTime getEndTime () const
const BdbTimebeginTime () const
const BdbTimeendTime () const
void setBeginTime (const BdbTime &theTime)
void setEndTime (const BdbTime &theTime)
bool inInterval (const BdbTime &time) const
bool inInterval (const BdbIntervalBase &other) const
bool operator== (const BdbIntervalBase &o) const

Protected Attributes

BdbTime _beginTime
BdbTime _endTime

Friends

ostream & operator<< (ostream &os, const BdbIntervalBase &t)

Constructor & Destructor Documentation

BdbIntervalBase::BdbIntervalBase const BdbTime   startTime = BdbTime::minusInfinity,
const BdbTime   endTime = BdbTime::plusInfinity
 

Definition at line 33 of file BdbIntervalBase.cc.

BdbIntervalBase::BdbIntervalBase const BdbIntervalBase &    other
 

Definition at line 38 of file BdbIntervalBase.cc.

virtual BdbIntervalBase::~BdbIntervalBase   [inline, virtual]
 

Definition at line 44 of file BdbIntervalBase.hh.


Member Function Documentation

const BdbTime& BdbIntervalBase::beginTime   const [inline]
 

Definition at line 70 of file BdbIntervalBase.hh.

References _beginTime.

Referenced by beginSec(), cmd_dump(), cmd_verify(), compareIndexAgainstSubTree(), BdbDatabase::copyLimitedSubTree(), BdbCondDebug::createBaselineInterval(), CdbBdbWCondition::findObject(), findZeroLengthInSubTree(), BdbInterval::hasEqualContents(), BdbCondDatabaseMgr::locateBaselineIntervals(), BdbCondDatabaseMgr::mergeInnerFromBaseline(), BdbCondDatabaseMgr::mergeLeftFromBaseline(), BdbCondDatabaseMgr::nanoCorrectionInSubTree(), operator<<(), printObject(), BdbCondDebug::removeSubTree(), BdbCondDatabaseMgr::scanContainer(), BdbCondDebug::setBeginTime(), BdbCondROIDServerLoader::updateEntry(), and verifySubTree().

const BdbTime& BdbIntervalBase::endTime   const [inline]
 

Definition at line 75 of file BdbIntervalBase.hh.

References _endTime.

Referenced by cmd_dump(), cmd_verify(), cmd_verify_config(), compareIndexAgainstSubTree(), BdbDatabase::copyLimitedSubTree(), BdbCondDebug::createBaselineInterval(), endSec(), CdbBdbWCondition::findObject(), findZeroLengthInSubTree(), BdbInterval::hasEqualContents(), BdbCondDatabaseMgr::nanoCorrectionInSubTree(), operator<<(), printObject(), BdbCondDebug::removeSubTree(), BdbCondDatabaseMgr::scanContainer(), BdbCondDebug::setEndTime(), BdbCondROIDServerLoader::updateEntry(), and verifySubTree().

BdbTime BdbIntervalBase::getBeginTime   const [inline]
 

Definition at line 60 of file BdbIntervalBase.hh.

References _beginTime.

Referenced by BdbDatabase::addVectorVersion(), BdbDatabase::appendIntervalR(), BdbCondDatabaseMgr::copyTopIntervalsInSubTree(), BdbDatabase::createVersion(), BdbIntervalItr::getNextRevisedInterval(), BdbCondDatabaseBase::historyIRemove(), BdbDatabase::includeIntoRevision(), main(), BdbDatabase::split(), BdbDatabase::splitIntervalsTree(), BdbDatabase::store(), BdbDatabase::storeVector(), BdbDatabase::truncateLastInterval(), BdbDatabase::version(), and BdbDatabase::versionVector().

BdbTime BdbIntervalBase::getEndTime   const [inline]
 

Definition at line 65 of file BdbIntervalBase.hh.

References _endTime.

Referenced by BdbDatabase::addVectorVersion(), BdbCondDatabaseMgr::copyTopIntervalsInSubTree(), BdbDatabase::createVersion(), BdbCondDatabaseBase::historyIRemove(), BdbDatabase::includeIntoRevision(), main(), BdbDatabase::split(), BdbDatabase::splitBaselineInterval(), BdbDatabase::splitIntervalsTree(), BdbDatabase::store(), BdbDatabase::storeVector(), BdbDatabase::updateFirstInterval(), BdbDatabase::version(), and BdbDatabase::versionVector().

bool BdbIntervalBase::inInterval const BdbIntervalBase &    other const [inline]
 

Definition at line 97 of file BdbIntervalBase.hh.

References _beginTime, and _endTime.

bool BdbIntervalBase::inInterval const BdbTime   time const [inline]
 

Definition at line 92 of file BdbIntervalBase.hh.

References _beginTime, and _endTime.

Referenced by EmcFooClassProxy_002::faultHandler(), BdbEnvProxy< T, TP >::faultHandler(), BdbCondDirectAccessor::findInterval(), BdbDatabase::getBaselineInterval(), BdbDatabase::getList(), BdbDatabase::getRevisedInterval(), BdbDatabase::getTopmostInterval(), and BdbDatabase::verticalCompare().

BdbIntervalBase& BdbIntervalBase::operator= const BdbIntervalBase &    other [inline]
 

Definition at line 49 of file BdbIntervalBase.hh.

References _beginTime, and _endTime.

bool BdbIntervalBase::operator== const BdbIntervalBase &    o const [inline]
 

Definition at line 103 of file BdbIntervalBase.hh.

References _beginTime, and _endTime.

void BdbIntervalBase::setBeginTime const BdbTime   theTime [inline]
 

Definition at line 81 of file BdbIntervalBase.hh.

References _beginTime.

Referenced by BdbDatabase::cutFirstInterval(), BdbCondRemoteAccessor::findObject(), BdbCondDirectAccessor::findObject(), BdbCondDatabaseMgr::nanoCorrectionInSubTree(), BdbCondDebug::setBeginTime(), BdbCondRemoteAccessor::translateResult(), and BdbDatabase::updateFirstInterval().

void BdbIntervalBase::setEndTime const BdbTime   theTime [inline]
 

Definition at line 86 of file BdbIntervalBase.hh.

References _endTime.

Referenced by BdbDatabaseBase::appendInterval(), BdbDatabase::appendIntervalR(), BdbDatabase::cutLastInterval(), BdbCondRemoteAccessor::findObject(), BdbCondDirectAccessor::findObject(), BdbCondDatabaseMgr::nanoCorrectionInSubTree(), BdbCondDebug::setEndTime(), BdbDatabase::splitBaselineInterval(), and BdbCondRemoteAccessor::translateResult().


Friends And Related Function Documentation

ostream& operator<< ostream &    os,
const BdbIntervalBase &    interval
[friend]
 

Definition at line 44 of file BdbIntervalBase.cc.


Member Data Documentation

BdbTime BdbIntervalBase::_beginTime [protected]
 

Definition at line 117 of file BdbIntervalBase.hh.

Referenced by beginTime(), getBeginTime(), inInterval(), operator=(), operator==(), and setBeginTime().

BdbTime BdbIntervalBase::_endTime [protected]
 

Definition at line 118 of file BdbIntervalBase.hh.

Referenced by endTime(), getEndTime(), inInterval(), operator=(), operator==(), and setEndTime().


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