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  

BdbCondDdOprNCorrection Class Reference
[BdbCondAdmin]

#include <BdbCondDdOprNCorrection.hh>

Inheritance diagram for BdbCondDdOprNCorrection:

BdbCondOpr BdbCondDdDetector List of all members.

Public Methods

 BdbCondDdOprNCorrection (BdbCondTrans *transaction)
virtual ~BdbCondDdOprNCorrection ()
virtual BdbStatus translate (const std::vector< std::string > &tokens)
virtual BdbStatus operation ()

Static Public Methods

const char * staticName ()

Private Methods

 BdbCondDdOprNCorrection ()
bool translateNumber (const char *theString, BdbTime &theTime)
bool translateNumber (const char *theString, d_ULong &theNumber)

Private Attributes

std::string _detector
std::string _origin
BdbTime _beginTime
BdbTime _endTime
bool _verifyOnly
bool _verbose

Constructor & Destructor Documentation

BdbCondDdOprNCorrection::BdbCondDdOprNCorrection BdbCondTrans   transaction
 

Definition at line 75 of file BdbCondDdOprNCorrection.cc.

References false.

BdbCondDdOprNCorrection::~BdbCondDdOprNCorrection   [virtual]
 

Definition at line 91 of file BdbCondDdOprNCorrection.cc.

BdbCondDdOprNCorrection::BdbCondDdOprNCorrection   [private]
 


Member Function Documentation

BdbStatus BdbCondDdOprNCorrection::operation   [virtual]
 

The following method is to be implemented by derived class. The method is being execuded withing a started transaction. Depending on the results of its execution the transaction will be either commited or aborted.

Implements BdbCondOpr.

Definition at line 274 of file BdbCondDdOprNCorrection.cc.

References _beginTime, _detector, _endTime, _origin, _verifyOnly, BdbcError, BdbcSuccess, BdbStatus, BdbCondOpr::checkpoint(), BdbCondDatabaseBase::findContainerLink(), BdbCondContainerLink::getOrigin(), BdbCondContainerLink::isValid(), BdbCondDatabaseBase::listAllClasses(), and BdbCondDatabaseMgr::nanoCorrection().

const char * BdbCondDdOprNCorrection::staticName   [static]
 

Definition at line 66 of file BdbCondDdOprNCorrection.cc.

Referenced by BdbCondDdBOpr::build().

BdbStatus BdbCondDdOprNCorrection::translate const std::vector< std::string > &    tokens [virtual]
 

This method makes a command-specific translation into internal valiables. Whne it succeed it sets an object into a "valid" for execution state. The method must be implemented by derived classes.

Implements BdbCondOpr.

Definition at line 100 of file BdbCondDdOprNCorrection.cc.

References _beginTime, _detector, _endTime, _origin, _verbose, _verifyOnly, BdbcError, BdbcSuccess, BdbTime::getZone(), BdbCondOpr::isValid(), BdbTime::Local, BdbTime::minusInfinity, BdbCondOpr::name(), BdbTime::plusInfinity, BdbCondOpr::setValid(), and translateNumber().

bool BdbCondDdOprNCorrection::translateNumber const char *    theString,
d_ULong   theNumber
[private]
 

Definition at line 455 of file BdbCondDdOprNCorrection.cc.

References result.

bool BdbCondDdOprNCorrection::translateNumber const char *    theString,
BdbTime   theTime
[private]
 

Definition at line 426 of file BdbCondDdOprNCorrection.cc.

References result.

Referenced by translate().


Member Data Documentation

BdbTime BdbCondDdOprNCorrection::_beginTime [private]
 

Definition at line 90 of file BdbCondDdOprNCorrection.hh.

Referenced by operation(), and translate().

std::string BdbCondDdOprNCorrection::_detector [private]
 

Definition at line 88 of file BdbCondDdOprNCorrection.hh.

Referenced by operation(), and translate().

BdbTime BdbCondDdOprNCorrection::_endTime [private]
 

Definition at line 91 of file BdbCondDdOprNCorrection.hh.

Referenced by operation(), and translate().

std::string BdbCondDdOprNCorrection::_origin [private]
 

Definition at line 89 of file BdbCondDdOprNCorrection.hh.

Referenced by operation(), and translate().

bool BdbCondDdOprNCorrection::_verbose [private]
 

Definition at line 93 of file BdbCondDdOprNCorrection.hh.

Referenced by translate().

bool BdbCondDdOprNCorrection::_verifyOnly [private]
 

Definition at line 92 of file BdbCondDdOprNCorrection.hh.

Referenced by operation(), and translate().


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