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

CdbBdbSCollectionIdItr Class Reference

The internal implementation for the public iterator for elements of collections. More...

#include <CdbBdbSCollectionIdItr.hh>

Inheritance diagram for CdbBdbSCollectionIdItr:

CdbIItr< d_UShort > List of all members.

Public Types

typedef CdbIItr< d_UShort
>::ValueType 
ValueType
 Introduce a type definition for the purpose of easier reference.

typedef CdbIItr< d_UShort
>::InterfaceType 
InterfaceType

Public Member Functions

 CdbBdbSCollectionIdItr (const CdbItr< CdbBdbSCollectionBte > &theInputItr)
 The normal constructor.

virtual ~CdbBdbSCollectionIdItr ()
 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.


Protected Member Functions

 CdbBdbSCollectionIdItr (const CdbBdbSCollectionIdItr &theItr)
 The copy constructor.


Detailed Description

The internal implementation for the public iterator for elements of collections.

The iterator will return extract end return the identifiers of elements stored in the collection.

Definition at line 20 of file CdbBdbSCollectionIdItr.hh.


Member Typedef Documentation

typedef CdbIItr<d_UShort>::InterfaceType CdbBdbSCollectionIdItr::InterfaceType
 

This is a type of a base iterator interface

Reimplemented from CdbIItr< d_UShort >.

Definition at line 25 of file CdbBdbSCollectionIdItr.hh.

typedef CdbIItr<d_UShort>::ValueType CdbBdbSCollectionIdItr::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< d_UShort >.

Definition at line 24 of file CdbBdbSCollectionIdItr.hh.


Constructor & Destructor Documentation

CdbBdbSCollectionIdItr::CdbBdbSCollectionIdItr const CdbBdbSCollectionIdItr &    theItr [protected]
 

The copy constructor.

The only reason why we have it implemented is because it's needed to implement the clone method.

See also:
CdbBdbSCollectionIdItr::clone()

Definition at line 17 of file CdbBdbSCollectionIdItr.cc.

Referenced by clone().

CdbBdbSCollectionIdItr::CdbBdbSCollectionIdItr const CdbItr< CdbBdbSCollectionBte > &    theInputItr
 

The normal constructor.

Moste of the operations will be just forwarded to the specified iterator.

Definition at line 13 of file CdbBdbSCollectionIdItr.cc.

CdbBdbSCollectionIdItr::~CdbBdbSCollectionIdItr   [virtual]
 

The destructor.

Details...

Definition at line 21 of file CdbBdbSCollectionIdItr.cc.


Member Function Documentation

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

Make a clone of itself.

See also:
CdbIItr::clone()

Implements CdbIItr< d_UShort >.

Definition at line 60 of file CdbBdbSCollectionIdItr.cc.

References CdbBdbSCollectionIdItr().

bool CdbBdbSCollectionIdItr::isValid   [virtual]
 

Check if an iterator is valid.

This implements the corresponding method of the base class.

See also:
CdbIItr::isValid()

Implements CdbIItr< d_UShort >.

Definition at line 54 of file CdbBdbSCollectionIdItr.cc.

References CdbItr< CdbBdbSCollectionBte >::isValid().

bool CdbBdbSCollectionIdItr::next   [virtual]
 

Advance an iterator to the next position.

This implements the corresponding method of the base class.

See also:
CdbIItr::next()

Implements CdbIItr< d_UShort >.

Definition at line 31 of file CdbBdbSCollectionIdItr.cc.

References CdbItr< CdbBdbSCollectionBte >::next(), and CdbItr< CdbBdbSCollectionBte >::value().

CdbStatus CdbBdbSCollectionIdItr::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< d_UShort >.

Definition at line 25 of file CdbBdbSCollectionIdItr.cc.

References CdbItr< CdbBdbSCollectionBte >::reset().

CdbBdbSCollectionIdItr::ValueType CdbBdbSCollectionIdItr::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< d_UShort >.

Definition at line 44 of file CdbBdbSCollectionIdItr.cc.

References CdbItr< CdbBdbSCollectionBte >::isValid(), and CdbBdbSCollectionBte::key.


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