Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbBdbSClusterP Class Reference

This class represent "cluster of conditions". More...

Inheritance diagram for CdbBdbSClusterP:

CdbBdbSCollectionElementP BdbPersObj CdbBdbSSimpleClusterP List of all members.

Public Member Functions

 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 (std::ostream &o) const
 Dump the contents of the object.


Friends

class CdbBdbSConditionAtClusterPItr

Detailed Description

This class represent "cluster of conditions".

Definition at line 27 of file CdbBdbSClusterP.ddl.


Constructor & Destructor Documentation

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 20 of file CdbBdbSClusterP.cc.

CdbBdbSClusterP::~CdbBdbSClusterP   [virtual]
 

Destructor.

Definition at line 33 of file CdbBdbSClusterP.cc.


Member Function Documentation

BdbTime CdbBdbSClusterP::created   const
 

Definition at line 43 of file CdbBdbSClusterP.cc.

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

Dump the contents of the object.

Definition at line 56 of file CdbBdbSClusterP.cc.

References 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 49 of file CdbBdbSClusterP.cc.

References CdbBdbSConditionAtClusterPItr, and CdbStatus::Success.

Referenced by CdbBdbSSimpleClusterP::createIncrement().

CdbBdbSClusterP::ooString 32    const
 

Reimplemented from CdbBdbSCollectionElementP.


Friends And Related Function Documentation

friend class CdbBdbSConditionAtClusterPItr [friend]
 

Definition at line 29 of file CdbBdbSClusterP.ddl.

Referenced by iterator().


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:18 2005 for CDB by doxygen1.3-rc3