00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _CITERATOR_H_
00021 #define _CITERATOR_H_
00022
00023
00024 #include "MdcRecoUtil/AIteratorBase.h"
00025 #include "MdcRecoUtil/CList.h"
00026
00027 #ifdef HEP_NO_INLINE_IN_TEMPLATE_DECLARATION
00028 #define inline
00029 #endif
00030
00031 using namespace CLHEP;
00032
00033 template <class T>
00034 class HepCListIterator : public HepAListIteratorBase {
00035
00036 public:
00037
00038 inline HepCListIterator(const HepCList<T> &);
00039 inline HepCListIterator(const HepAList<T> &);
00040
00041
00042
00043 inline HepCListIterator(const HepCListIterator<T> &);
00044
00045
00046 inline ~HepCListIterator();
00047
00048 inline T * operator () ();
00049 inline T * next();
00050
00051
00052
00053 inline T * prev();
00054
00055
00056
00057
00058 inline T * current() const;
00059
00060
00061
00062 };
00063
00064 #ifdef HEP_NO_INLINE_IN_TEMPLATE_DECLARATION
00065 #undef inline
00066 #endif
00067
00068 #ifdef HEP_SHORT_NAMES
00069 #define CIterator HepCListIterator
00070 #endif
00071
00072 #include "MdcRecoUtil/CIterator.icc"
00073
00074 #endif