Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

HistoIterator< T > Class Template Reference

#include <PIterators.h>

List of all members.

template<class T>
class HistoIterator< T >


Public Types

typedef HistoIterator< T > const_iterator
 Convenience typedef for the iterator.

typedef const HepRef (T) const _reference
 Convenience typedef for the HepODBMS HepRef.


Public Methods

 HistoIterator (HepRef(ooContObj) cH)
 Constructor taking a HepRef to an Objectivity container cH.

 HistoIterator (HepRef(ooDBObj) dH)
 Constructor taking a HepRef to an Objectivity database dH.

 HistoIterator (const const_iterator &oth)
 Copy constructor.

const_iterator operator++ ()
 Operator prefix ++.

const_iterator operator++ (int)
 Operator postfix ++.

const_reference operator * () const
 De-reference operator.

 operator int () const
 Used in comparisons. Should be bool but... int is more portable!


Private Methods

 ooItr (T) histo_itr
 HepRef (T) current_

Private Attributes

int atEnd

Member Typedef Documentation

template<class T>
typedef HistoIterator<T> HistoIterator< T >::const_iterator
 

Definition at line 13 of file PIterators.h.

template<class T>
typedef const HistoIterator< T >::HepRef(T) const _reference
 

Definition at line 15 of file PIterators.h.


Constructor & Destructor Documentation

template<class T>
HistoIterator< T >::HistoIterator HepRef(ooContObj)    cH [inline]
 

Definition at line 18 of file PIterators.h.

References HistoIterator< T >::atEnd.

template<class T>
HistoIterator< T >::HistoIterator HepRef(ooDBObj)    dH [inline]
 

Definition at line 22 of file PIterators.h.

References HistoIterator< T >::atEnd.

template<class T>
HistoIterator< T >::HistoIterator const const_iterator   oth [inline]
 

Definition at line 27 of file PIterators.h.

References HistoIterator< T >::atEnd.


Member Function Documentation

template<class T>
HistoIterator< T >::HepRef   [private]
 

template<class T>
HistoIterator< T >::ooItr   [private]
 

template<class T>
const_reference HistoIterator< T >::operator *   const [inline]
 

Definition at line 47 of file PIterators.h.

References HistoIterator< T >::atEnd.

template<class T>
HistoIterator< T >::operator int   const [inline]
 

Definition at line 59 of file PIterators.h.

References HistoIterator< T >::atEnd.

template<class T>
const_iterator HistoIterator< T >::operator++ int    [inline]
 

Definition at line 41 of file PIterators.h.

template<class T>
const_iterator HistoIterator< T >::operator++   [inline]
 

Definition at line 33 of file PIterators.h.

References HistoIterator< T >::atEnd.


Member Data Documentation

template<class T>
int HistoIterator< T >::atEnd [private]
 

Definition at line 65 of file PIterators.h.

Referenced by HistoIterator< T >::HistoIterator(), HistoIterator< T >::operator *(), HistoIterator< T >::operator int(), and HistoIterator< T >::operator++().


The documentation for this class was generated from the following file:

Anaphe documentation generated by Doxygen (www.doxygen.org)