1#ifndef GLASTCNV_GLASTEVENTSELECTORITERATOR_H
2#define GLASTCNV_GLASTEVENTSELECTORITERATOR_H 1
4#include "GaudiKernel/IEvtSelector.h"
5#include "GaudiKernel/ISvcLocator.h"
6#include "GaudiKernel/Service.h"
24 : m_glastEvtSel(glastEvtSel){
28 virtual IOpaqueAddress*
operator*()
const {
return m_glastEvtSel->reference(*
this);}
29 virtual IOpaqueAddress*
operator->()
const {
return m_glastEvtSel->reference(*
this);}
30 virtual IEvtSelector::Iterator&
operator++() {
return m_glastEvtSel->next(*
this);}
31 virtual IEvtSelector::Iterator&
operator--() {
return m_glastEvtSel->previous(*
this);}
32 virtual IEvtSelector::Iterator&
operator++(
int) {
return m_glastEvtSel->next(*
this);}
33 virtual IEvtSelector::Iterator&
operator--(
int) {
return m_glastEvtSel->previous(*
this);}
34 virtual bool operator==(
const IEvtSelector::Iterator& it)
const {
36 return((m_recId == glastIt->m_recId));
38 virtual bool operator!=(
const IEvtSelector::Iterator& it)
const {
40 return((m_recId != glastIt->m_recId));
45 const IEvtSelector* m_glastEvtSel;
implements the IEvtSelector::Iterator interface
virtual IEvtSelector::Iterator & operator--()
virtual IEvtSelector::Iterator & operator++()
virtual bool operator==(const IEvtSelector::Iterator &it) const
virtual IOpaqueAddress * operator->() const
RootEvtIterator(const IEvtSelector *glastEvtSel, int recId)
virtual IOpaqueAddress * operator*() const
virtual bool operator!=(const IEvtSelector::Iterator &it) const
RootEvtIterator(const IEvtSelector *glastEvtSel)
virtual ~RootEvtIterator()
virtual IEvtSelector::Iterator & operator++(int)
virtual IEvtSelector::Iterator & operator--(int)
RootEvtSelector performs the function of controlling the ApplicationMgr loop.