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

dbIter Class Template Reference

Definition of the dbIter class (generic persistable object iterator). More...

#include <DbIter.h>

List of all members.

Public Methods

 dbIter ()
 Standard constructor. More...

virtual ~dbIter ()
 Standard destructor. More...

DbResult scan (const dbHandle<DbContainer>& cntH)
 Scan the container. More...

DbResult next ()
 Retrieve next element. More...

dbHandle<T>& operator-> ()
 Dereference operator. More...

bool operator== (const dbIter<T>& iter) const
 Equality operator. More...


Private Methods

void releaseCursor ()

Private Attributes

dbHandle<DbContainerm_container
 Handle to current object. More...

dbHandle<T> m_object
 Handle to current object. More...

IDbCursorm_cursor
 Iteration cursor. More...


Detailed Description

template<class T> template class dbIter

Definition of the dbIter class (generic persistable object iterator).

Class: Object

Purpose: Object definition to access all objects within a container.

Dependencies:

History :

    +---------+----------------------------------------------+--------+
    |    Date |                 Comment                      | Who    |
    +---------+----------------------------------------------+--------+
    | 11/02/99| Initial version                              | MF     |
    +---------+----------------------------------------------+--------+
    

Author(s):
Markus Frank
Version:
1

Definition at line 49 of file DbIter.h.


Constructor & Destructor Documentation

template<classT>
dbIter<T>::dbIter<T> ( ) [inline]
 

Standard constructor.

Definition at line 64 of file DbIter.h.

template<classT>
dbIter<T>::~dbIter<T> ( ) [inline, virtual]
 

Standard destructor.

Definition at line 68 of file DbIter.h.


Member Function Documentation

template<classT>
DbResult dbIter<T>::next ( ) [inline]
 

Retrieve next element.

Definition at line 82 of file DbIter.h.

Referenced by DbCnvSvc::createIterator(), DbEvtSelector::next(), and DbDataBase::open().

template<classT>
dbHandle< T >& dbIter<T>::operator-> ( ) [inline]
 

Dereference operator.

Definition at line 95 of file DbIter.h.

Referenced by operator==().

template<classT>
bool dbIter<T>::operator== ( const dbIter< T >& iter ) const [inline]
 

Equality operator.

Definition at line 99 of file DbIter.h.

template<classT>
void dbIter<T>::releaseCursor ( ) [inline, private]
 

Definition at line 56 of file DbIter.h.

Referenced by scan(), and ~dbIter().

template<classT>
DbResult dbIter<T>::scan ( const dbHandle< DbContainer >& cntH ) [inline]
 

Scan the container.

Definition at line 72 of file DbIter.h.

Referenced by DbCnvSvc::createIterator(), and DbDataBase::open().


Member Data Documentation

template<classT>
dbHandle< DbContainer > dbIter<T>::m_container [private]
 

Handle to current object.

Definition at line 51 of file DbIter.h.

template<classT>
IDbCursor * dbIter<T>::m_cursor [private]
 

Iteration cursor.

Definition at line 55 of file DbIter.h.

template<classT>
dbHandle< T > dbIter<T>::m_object [private]
 

Handle to current object.

Definition at line 53 of file DbIter.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:22 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000