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  

BdbBMBin Class Reference
[BdbBitMap]

Inheritance diagram for BdbBMBin:

BdbPersObj List of all members.

Public Methods

 BdbBMBin ()
 BdbBMBin (d_Float minValue, d_Float maxValue)
virtual ~BdbBMBin ()
d_Float getMinValue () const
d_Float getMaxValue () const
d_ULong getNumBits () const
d_ULong getNumUsed () const
 ooVArray (d_ULong)&getBits()
BdbStatus setLimits (d_Float minValue, d_Float maxValue)
void setNumUsed (d_ULong used)
BdbStatus extendBy (d_ULong element, d_ULong nUsed)

Public Attributes

 BdbHintDeclare

Private Methods

 ooVArray (d_ULong) _bits

Private Attributes

d_Float _minValue
d_Float _maxValue
d_ULong _numUsed

Constructor & Destructor Documentation

BdbBMBin::BdbBMBin  
 

BdbBMBin() - default constructor

Definition at line 53 of file BdbBMBin.cc.

References _maxValue, _minValue, and _numUsed.

BdbBMBin::BdbBMBin d_Float    minValue,
d_Float    maxValue
 

BdbBMBin() - constructor

Definition at line 64 of file BdbBMBin.cc.

References _maxValue, _minValue, and _numUsed.

BdbBMBin::~BdbBMBin   [virtual]
 

~BdbBMBin() - destructor

Definition at line 76 of file BdbBMBin.cc.


Member Function Documentation

BdbStatus BdbBMBin::extendBy d_ULong    element,
d_ULong    nUsed
 

extendBy() - extend the size of the array by the value of specified element. In a case of compressed bits strings, the number of actually used bits in the element is ignored.

Definition at line 109 of file BdbBMBin.cc.

References _numUsed, BdbcSuccess, and BdbStatus.

d_Float BdbBMBin::getMaxValue   [inline]
 

Definition at line 99 of file BdbBMBin.ddl.

References _maxValue.

Referenced by BdbBMDimension::initBins().

d_Float BdbBMBin::getMinValue   [inline]
 

Definition at line 93 of file BdbBMBin.ddl.

References _minValue.

Referenced by BdbBMDimension::initBins().

d_ULong BdbBMBin::getNumBits   [inline]
 

Definition at line 105 of file BdbBMBin.ddl.

d_ULong BdbBMBin::getNumUsed   [inline]
 

Definition at line 117 of file BdbBMBin.ddl.

References _numUsed.

BdbBMBin::ooVArray d_ULong    [inline]
 

BdbBMBin::ooVArray d_ULong    [private]
 

BdbStatus BdbBMBin::setLimits d_Float    minValue,
d_Float    maxValue
 

setLimits() - set the limits of the bin. Be aware that the left value belongs to the interval whereas the right - does not.

Definition at line 85 of file BdbBMBin.cc.

References _maxValue, _minValue, BdbcSuccess, BdbcUserError, and BdbSignal.

Referenced by BdbBMDimension::initBins().

void BdbBMBin::setNumUsed d_ULong    used [inline]
 

Definition at line 85 of file BdbBMBin.ddl.

References _numUsed.


Member Data Documentation

d_Float BdbBMBin::_maxValue [private]
 

Definition at line 35 of file BdbBMBin.ddl.

Referenced by BdbBMBin(), getMaxValue(), and setLimits().

d_Float BdbBMBin::_minValue [private]
 

Definition at line 34 of file BdbBMBin.ddl.

Referenced by BdbBMBin(), getMinValue(), and setLimits().

d_ULong BdbBMBin::_numUsed [private]
 

Definition at line 39 of file BdbBMBin.ddl.

Referenced by BdbBMBin(), extendBy(), getNumUsed(), and setNumUsed().

BdbBMBin::BdbHintDeclare
 

Definition at line 46 of file BdbBMBin.ddl.


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