#include <RootEvtIterator.h>
Public Member Functions | |
RootEvtIterator () | |
RootEvtIterator (const IEvtSelector *glastEvtSel) | |
RootEvtIterator (const IEvtSelector *glastEvtSel, int recId) | |
virtual | ~RootEvtIterator () |
virtual IOpaqueAddress * | operator * () const |
virtual IOpaqueAddress * | operator-> () const |
virtual IEvtSelector::Iterator & | operator++ () |
virtual IEvtSelector::Iterator & | operator-- () |
virtual IEvtSelector::Iterator & | operator++ (int) |
virtual IEvtSelector::Iterator & | operator-- (int) |
virtual bool | operator== (const IEvtSelector::Iterator &it) const |
virtual bool | operator!= (const IEvtSelector::Iterator &it) const |
Private Attributes | |
const IEvtSelector * | m_glastEvtSel |
pointer to RootEvtSelector | |
int | m_recId |
counts number of event | |
Friends | |
class | RootEvtSelector |
Definition at line 17 of file RootEvtIterator.h.
RootEvtIterator::RootEvtIterator | ( | ) | [inline] |
RootEvtIterator::RootEvtIterator | ( | const IEvtSelector * | glastEvtSel | ) | [inline] |
Definition at line 21 of file RootEvtIterator.h.
00021 : m_glastEvtSel(glastEvtSel), 00022 m_recId(0) { }
RootEvtIterator::RootEvtIterator | ( | const IEvtSelector * | glastEvtSel, | |
int | recId | |||
) | [inline] |
Definition at line 23 of file RootEvtIterator.h.
References m_recId.
00024 : m_glastEvtSel(glastEvtSel){ 00025 m_recId = recId; 00026 }
virtual RootEvtIterator::~RootEvtIterator | ( | ) | [inline, virtual] |
virtual IOpaqueAddress* RootEvtIterator::operator * | ( | void | ) | const [inline, virtual] |
Definition at line 28 of file RootEvtIterator.h.
References m_glastEvtSel.
00028 {return m_glastEvtSel->reference(*this);}
virtual bool RootEvtIterator::operator!= | ( | const IEvtSelector::Iterator & | it | ) | const [inline, virtual] |
Definition at line 38 of file RootEvtIterator.h.
References m_recId.
00038 { 00039 const RootEvtIterator* glastIt = dynamic_cast<const RootEvtIterator*>(&it); 00040 return((m_recId != glastIt->m_recId)); 00041 }
virtual IEvtSelector::Iterator& RootEvtIterator::operator++ | ( | int | ) | [inline, virtual] |
Definition at line 32 of file RootEvtIterator.h.
References m_glastEvtSel.
00032 { return m_glastEvtSel->next(*this);}
virtual IEvtSelector::Iterator& RootEvtIterator::operator++ | ( | void | ) | [inline, virtual] |
Definition at line 30 of file RootEvtIterator.h.
References m_glastEvtSel.
00030 { return m_glastEvtSel->next(*this);}
virtual IEvtSelector::Iterator& RootEvtIterator::operator-- | ( | int | ) | [inline, virtual] |
Definition at line 33 of file RootEvtIterator.h.
References m_glastEvtSel.
00033 { return m_glastEvtSel->previous(*this);}
virtual IEvtSelector::Iterator& RootEvtIterator::operator-- | ( | void | ) | [inline, virtual] |
Definition at line 31 of file RootEvtIterator.h.
References m_glastEvtSel.
00031 { return m_glastEvtSel->previous(*this);}
virtual IOpaqueAddress* RootEvtIterator::operator-> | ( | ) | const [inline, virtual] |
Definition at line 29 of file RootEvtIterator.h.
References m_glastEvtSel.
00029 { return m_glastEvtSel->reference(*this);}
virtual bool RootEvtIterator::operator== | ( | const IEvtSelector::Iterator & | it | ) | const [inline, virtual] |
Definition at line 34 of file RootEvtIterator.h.
References m_recId.
00034 { 00035 const RootEvtIterator* glastIt = dynamic_cast<const RootEvtIterator*>(&it); 00036 return((m_recId == glastIt->m_recId)); 00037 }
friend class RootEvtSelector [friend] |
Definition at line 19 of file RootEvtIterator.h.
const IEvtSelector* RootEvtIterator::m_glastEvtSel [private] |
pointer to RootEvtSelector
Definition at line 45 of file RootEvtIterator.h.
Referenced by operator *(), operator++(), operator--(), and operator->().
int RootEvtIterator::m_recId [private] |
counts number of event
Definition at line 47 of file RootEvtIterator.h.
Referenced by operator!=(), operator==(), and RootEvtIterator().