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

CdbBdbSConditionAtClusterPItr Class Reference

The internal implementation for the iterator of persistent conditions at a cluster. More...

#include <CdbBdbSConditionAtClusterPItr.hh>

Inheritance diagram for CdbBdbSConditionAtClusterPItr:

CdbIItr< BdbRef(CdbBdbSConditionP) > List of all members.

Public Types

typedef CdbIItr< BdbRef(CdbBdbSConditionP)
>::ValueTyp 
ValueType )
 Introduce a type definition for the purpose of easier reference.

typedef CdbIItr< BdbRef(CdbBdbSConditionP)
>::InterfaceTyp 
InterfaceType )

Public Member Functions

 CdbBdbSConditionAtClusterPItr (const BdbRef(CdbBdbSClusterP)&theClusterRef)
 The normal and default constructor.

virtual ~CdbBdbSConditionAtClusterPItr ()
 The destructor.

virtual CdbStatus reset ()
 Reset an iterator to its initial state.

virtual bool next ()
 Advance an iterator to the next position.

virtual ValueType value ()
 Obtain the currently reffered value.

virtual bool isValid ()
 Check if an iterator is valid.

virtual InterfaceTypeclone () const
 Make a clone of itself.


Detailed Description

The internal implementation for the iterator of persistent conditions at a cluster.

This class provides the actual implementation of the corresponding iterator interface.

See also:
CdbIItr

CdbIItr::InterfaceType

CdbIItr::ValueType

Definition at line 24 of file CdbBdbSConditionAtClusterPItr.hh.


Member Typedef Documentation

typedef CdbIItr< BdbRef(CdbBdbSConditionP) >::InterfaceTyp CdbBdbSConditionAtClusterPItr::InterfaceType)
 

This is a type of a base iterator interface

Reimplemented from CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 29 of file CdbBdbSConditionAtClusterPItr.hh.

typedef CdbIItr< BdbRef(CdbBdbSConditionP) >::ValueTyp CdbBdbSConditionAtClusterPItr::ValueType)
 

Introduce a type definition for the purpose of easier reference.

This definition provides access to the type of the parameter used for the concrete template instantiation.

Reimplemented from CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 28 of file CdbBdbSConditionAtClusterPItr.hh.


Constructor & Destructor Documentation

CdbBdbSConditionAtClusterPItr::CdbBdbSConditionAtClusterPItr const BdbRef(CdbBdbSClusterP)&    theClusterRef
 

The normal and default constructor.

See also:
CdbBdbSConditionAtClusterPItr
Parameters:
theClusterRef  a cluster with the collection of conditions

Definition at line 15 of file CdbBdbSConditionAtClusterPItr.cc.

Referenced by clone().

CdbBdbSConditionAtClusterPItr::~CdbBdbSConditionAtClusterPItr   [virtual]
 

The destructor.

Details...

Definition at line 21 of file CdbBdbSConditionAtClusterPItr.cc.


Member Function Documentation

CdbBdbSConditionAtClusterPItr::InterfaceType * CdbBdbSConditionAtClusterPItr::clone   const [virtual]
 

Make a clone of itself.

See also:
CdbIItr::clone()
WARNING: The current implementation of this method will return an instance reset to the original state, as if no "next" method has ever been called against it, even if the original instance is already in the "isValid = true" state. The reason of this is that ooItr does not have neither copy ctor, nor the assignment operator.

Implements CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 71 of file CdbBdbSConditionAtClusterPItr.cc.

References CdbBdbSConditionAtClusterPItr().

bool CdbBdbSConditionAtClusterPItr::isValid   [virtual]
 

Check if an iterator is valid.

This implements the corresponding method of the base class.

See also:
CdbIItr::isValid()

Implements CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 65 of file CdbBdbSConditionAtClusterPItr.cc.

bool CdbBdbSConditionAtClusterPItr::next   [virtual]
 

Advance an iterator to the next position.

This implements the corresponding method of the base class.

See also:
CdbIItr::next()

Implements CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 34 of file CdbBdbSConditionAtClusterPItr.cc.

CdbStatus CdbBdbSConditionAtClusterPItr::reset   [virtual]
 

Reset an iterator to its initial state.

This implements the corresponding method of the base class.

See also:
CdbIItr::reset

CdbStatus

Implements CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 25 of file CdbBdbSConditionAtClusterPItr.cc.

References CdbStatus::Success.

CdbBdbSConditionAtClusterPItr::ValueType CdbBdbSConditionAtClusterPItr::value   [virtual]
 

Obtain the currently reffered value.

This implements the corresponding method of the base class.

See also:
CdbIItr::value()

CdbIItr::ValueType

Returns:
the current value the iterator is set on

Implements CdbIItr< BdbRef(CdbBdbSConditionP) >.

Definition at line 55 of file CdbBdbSConditionAtClusterPItr.cc.


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