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  

BdbPCounter Class Reference
[BdbClustering]

Inheritance diagram for BdbPCounter:

BdbPersObj List of all members.

Public Methods

 BdbPCounter (d_ULong dbid)
d_ULong dbNr () const
d_ULong counter () const
d_ULong incr (d_Long nr)
void force (d_ULong nr)
d_UShort convertToExtraConts (d_UShort nrPagesPerFullCont)

Private Attributes

d_ULong _theCounter
d_ULong _dbNr

Constructor & Destructor Documentation

BdbPCounter::BdbPCounter d_ULong    dbid
 

BdbPCounter::BdbPCounter()

The default constructor. Initializes the counter

Definition at line 36 of file BdbPCounter.cc.

References _dbNr.


Member Function Documentation

d_UShort BdbPCounter::convertToExtraConts d_UShort    nrPagesPerFullCont
 

BdbPCounter::convertToExtraConts

The function converts current value of the counter into number of extra containers. It also decrements the counter.

Definition at line 106 of file BdbPCounter.cc.

References _theCounter, BdbcSuccess, and COUT1.

d_ULong BdbPCounter::counter   const [inline]
 

Definition at line 42 of file BdbPCounter.ddl.

References _theCounter.

d_ULong BdbPCounter::dbNr   const [inline]
 

Definition at line 41 of file BdbPCounter.ddl.

References _dbNr.

void BdbPCounter::force d_ULong    nr
 

Definition at line 91 of file BdbPCounter.cc.

References _theCounter.

d_ULong BdbPCounter::incr d_Long    nr
 

This function can take both positive and negative values. Negative value: if objy managed to resize container above our artificial limit.

Definition at line 51 of file BdbPCounter.cc.

References _dbNr, _theCounter, BdbcSuccess, BdbcUserError, BdbSignal, and COUT1.


Member Data Documentation

d_ULong BdbPCounter::_dbNr [private]
 

Definition at line 34 of file BdbPCounter.ddl.

Referenced by BdbPCounter(), dbNr(), and incr().

d_ULong BdbPCounter::_theCounter [private]
 

Definition at line 30 of file BdbPCounter.ddl.

Referenced by convertToExtraConts(), counter(), force(), and incr().


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