00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _CONSTAITERATOR_H_
00024 #define _CONSTAITERATOR_H_
00025
00026 #include "MdcRecoUtil/AIteratorBase.h"
00027 #include "MdcRecoUtil/ConstAList.h"
00028
00029 #ifdef HEP_NO_INLINE_IN_TEMPLATE_DECLARATION
00030 #define inline
00031 #endif
00032
00033 template <class T>
00034 class HepConstAListIterator : public HepAListIteratorBase {
00035
00036 public:
00037
00038 inline HepConstAListIterator(const HepAList<T> &);
00039 inline HepConstAListIterator(const HepConstAList<T> &);
00040
00041
00042
00043 inline HepConstAListIterator(const HepConstAListIterator<T> &);
00044
00045
00046 inline ~HepConstAListIterator();
00047
00048 inline const T * operator () ();
00049 inline const T * next();
00050
00051
00052
00053 inline const T * prev();
00054
00055
00056
00057
00058 inline const 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 CAIterator HepConstAListIterator
00070 #endif
00071
00072 #include "MdcRecoUtil/ConstAIterator.icc"
00073
00074 #endif // _ALISTITERATOR_H_