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  

CdbBdbSClusterP Class Reference
[CdbBdbShared]

Inheritance diagram for CdbBdbSClusterP:

CdbBdbSCollectionElementP BdbPersObj CdbBdbSSimpleClusterP List of all members.

Public Methods

 CdbBdbSClusterP (ooInternalObj iobj)
 Special constructor (NOT IMPLEMENTED).

 CdbBdbSClusterP (const char *theName, d_UShort theId, const char *theDescription, const BdbTime &theCreationTime)
 Normal constructor.

virtual ~CdbBdbSClusterP ()
 Destructor.

 ooString (32) description() const
BdbTime created () const
CdbStatus iterator (CdbItr< BdbRef(CdbBdbSConditionP) > &theItr) const
 Set up an iterator of conditions.

virtual void dump (ostream &o) const
 Dump the contents of the object.


Private Methods

 CdbBdbSClusterP ()
 Default constructor (NOT IMPLEMENTED)).

 ooString (32) _description
 BdbRef (CdbBdbSConditionP) _conditions[]<-> _cluster

Private Attributes

BdbTime _created

Friends

class CdbBdbSConditionAtClusterPItr

Constructor & Destructor Documentation

CdbBdbSClusterP::CdbBdbSClusterP ooInternalObj    iobj [inline]
 

Special constructor (NOT IMPLEMENTED).

WARNING: This constructor is defined to avoid automatically generated constructor from Objectivity, which will break the compilation due to missing default constructor of BdbTime class.

Definition at line 64 of file CdbBdbSClusterP.ddl.

References _created.

CdbBdbSClusterP::CdbBdbSClusterP   [private]
 

Default constructor (NOT IMPLEMENTED)).

Also see comments about the special constructor defined above.

CdbBdbSClusterP::CdbBdbSClusterP const char *    theName,
d_UShort    theId,
const char *    theDescription,
const BdbTime   theCreationTime
 

Normal constructor.

WARNING: Inappropriate values of the parameters will cause the crash of the constructor to avoid creating disformed persistent data structures.

Parameters:
theName  the name of the cluster
theId  the identifier of the cluster
theDescription  the description of the cluster
theCreationTime  the time when the cluster is supposed to be created

Definition at line 15 of file CdbBdbSClusterP.cc.

References BdbTime::minusInfinity, and BdbTime::plusInfinity.

CdbBdbSClusterP::~CdbBdbSClusterP   [virtual]
 

Destructor.

Definition at line 28 of file CdbBdbSClusterP.cc.


Member Function Documentation

CdbBdbSClusterP::BdbRef CdbBdbSConditionP    [private]
 

Referenced by CdbBdbSSimpleClusterP::createIncrement().

BdbTime CdbBdbSClusterP::created  
 

Definition at line 38 of file CdbBdbSClusterP.cc.

References _created.

void CdbBdbSClusterP::dump ostream &    o const [virtual]
 

Dump the contents of the object.

Definition at line 51 of file CdbBdbSClusterP.cc.

References _created, and CdbBdbSCollectionElementP::id().

CdbStatus CdbBdbSClusterP::iterator CdbItr< BdbRef(CdbBdbSConditionP) > &    theItr const
 

Set up an iterator of conditions.

Parameters:
theItr  the value of the iterator be set up

Definition at line 44 of file CdbBdbSClusterP.cc.

References CdbBdbSConditionAtClusterPItr, and CdbStatus::Success.

Referenced by CdbBdbSSimpleClusterP::createIncrement().

CdbBdbSClusterP::ooString 32    [private]
 

Reimplemented from CdbBdbSCollectionElementP.

CdbBdbSClusterP::ooString 32    const
 

Reimplemented from CdbBdbSCollectionElementP.


Friends And Related Function Documentation

friend class CdbBdbSConditionAtClusterPItr [friend]
 

Definition at line 54 of file CdbBdbSClusterP.ddl.

Referenced by iterator().


Member Data Documentation

BdbTime CdbBdbSClusterP::_created [private]
 

Definition at line 117 of file CdbBdbSClusterP.ddl.

Referenced by CdbBdbSClusterP(), created(), and dump().


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