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"
23 : m_glastEvtSel( glastEvtSel ), m_recId( 0 ) {}
25 : m_glastEvtSel( glastEvtSel ) {
29 virtual IOpaqueAddress*
operator*()
const {
return m_glastEvtSel->reference( *
this ); }
30 virtual IOpaqueAddress*
operator->()
const {
return m_glastEvtSel->reference( *
this ); }
31 virtual IEvtSelector::Iterator&
operator++() {
return m_glastEvtSel->next( *
this ); }
32 virtual IEvtSelector::Iterator&
operator--() {
return m_glastEvtSel->previous( *
this ); }
33 virtual IEvtSelector::Iterator&
operator++(
int ) {
return m_glastEvtSel->next( *
this ); }
35 return m_glastEvtSel->previous( *
this );
37 virtual bool operator==(
const IEvtSelector::Iterator& it )
const {
39 return ( ( m_recId == glastIt->m_recId ) );
41 virtual bool operator!=(
const IEvtSelector::Iterator& it )
const {
43 return ( ( m_recId != glastIt->m_recId ) );
48 const IEvtSelector* m_glastEvtSel;
virtual IEvtSelector::Iterator & operator--()
virtual IEvtSelector::Iterator & operator++()
virtual bool operator==(const IEvtSelector::Iterator &it) const
virtual IOpaqueAddress * operator->() const
friend class RootEvtSelector
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)