BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
RootEvtIterator Class Reference

implements the IEvtSelector::Iterator interface More...

#include <RootEvtIterator.h>

+ Inheritance diagram for RootEvtIterator:

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
 
 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
 

Friends

class RootEvtSelector
 

Detailed Description

implements the IEvtSelector::Iterator interface

Header
/bes/bes/BossCvs/Event/RootCnvSvc/RootCnvSvc/RootEvtIterator.h,v 1.8 2008/01/09 00:05:48 codeman Exp

Definition at line 17 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

Constructor & Destructor Documentation

◆ RootEvtIterator() [1/6]

RootEvtIterator::RootEvtIterator ( )
inline

◆ RootEvtIterator() [2/6]

RootEvtIterator::RootEvtIterator ( const IEvtSelector *  glastEvtSel)
inline

Definition at line 21 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

21 : m_glastEvtSel(glastEvtSel),
22 m_recId(0) { }

◆ RootEvtIterator() [3/6]

RootEvtIterator::RootEvtIterator ( const IEvtSelector *  glastEvtSel,
int  recId 
)
inline

Definition at line 23 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

24 : m_glastEvtSel(glastEvtSel){
25 m_recId = recId;
26 }

◆ ~RootEvtIterator() [1/2]

virtual RootEvtIterator::~RootEvtIterator ( )
inlinevirtual

◆ RootEvtIterator() [4/6]

RootEvtIterator::RootEvtIterator ( )
inline

◆ RootEvtIterator() [5/6]

RootEvtIterator::RootEvtIterator ( const IEvtSelector *  glastEvtSel)
inline

Definition at line 21 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

21 : m_glastEvtSel(glastEvtSel),
22 m_recId(0) { }

◆ RootEvtIterator() [6/6]

RootEvtIterator::RootEvtIterator ( const IEvtSelector *  glastEvtSel,
int  recId 
)
inline

Definition at line 23 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

24 : m_glastEvtSel(glastEvtSel){
25 m_recId = recId;
26 }

◆ ~RootEvtIterator() [2/2]

virtual RootEvtIterator::~RootEvtIterator ( )
inlinevirtual

Member Function Documentation

◆ operator!=() [1/2]

virtual bool RootEvtIterator::operator!= ( const IEvtSelector::Iterator &  it) const
inlinevirtual

Definition at line 38 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

38 {
39 const RootEvtIterator* glastIt = dynamic_cast<const RootEvtIterator*>(&it);
40 return((m_recId != glastIt->m_recId));
41 }
implements the IEvtSelector::Iterator interface

◆ operator!=() [2/2]

virtual bool RootEvtIterator::operator!= ( const IEvtSelector::Iterator &  it) const
inlinevirtual

Definition at line 38 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

38 {
39 const RootEvtIterator* glastIt = dynamic_cast<const RootEvtIterator*>(&it);
40 return((m_recId != glastIt->m_recId));
41 }

◆ operator*() [1/2]

virtual IOpaqueAddress * RootEvtIterator::operator* ( ) const
inlinevirtual

Definition at line 28 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

28{return m_glastEvtSel->reference(*this);}

◆ operator*() [2/2]

virtual IOpaqueAddress * RootEvtIterator::operator* ( ) const
inlinevirtual

Definition at line 28 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

28{return m_glastEvtSel->reference(*this);}

◆ operator++() [1/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator++ ( )
inlinevirtual

Definition at line 30 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

30{ return m_glastEvtSel->next(*this);}

◆ operator++() [2/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator++ ( )
inlinevirtual

Definition at line 30 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

30{ return m_glastEvtSel->next(*this);}

◆ operator++() [3/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator++ ( int  )
inlinevirtual

Definition at line 32 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

32{ return m_glastEvtSel->next(*this);}

◆ operator++() [4/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator++ ( int  )
inlinevirtual

Definition at line 32 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

32{ return m_glastEvtSel->next(*this);}

◆ operator--() [1/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator-- ( )
inlinevirtual

Definition at line 31 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

31{ return m_glastEvtSel->previous(*this);}

◆ operator--() [2/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator-- ( )
inlinevirtual

Definition at line 31 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

31{ return m_glastEvtSel->previous(*this);}

◆ operator--() [3/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator-- ( int  )
inlinevirtual

Definition at line 33 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

33{ return m_glastEvtSel->previous(*this);}

◆ operator--() [4/4]

virtual IEvtSelector::Iterator & RootEvtIterator::operator-- ( int  )
inlinevirtual

Definition at line 33 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

33{ return m_glastEvtSel->previous(*this);}

◆ operator->() [1/2]

virtual IOpaqueAddress * RootEvtIterator::operator-> ( ) const
inlinevirtual

Definition at line 29 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

29{ return m_glastEvtSel->reference(*this);}

◆ operator->() [2/2]

virtual IOpaqueAddress * RootEvtIterator::operator-> ( ) const
inlinevirtual

Definition at line 29 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

29{ return m_glastEvtSel->reference(*this);}

◆ operator==() [1/2]

virtual bool RootEvtIterator::operator== ( const IEvtSelector::Iterator &  it) const
inlinevirtual

Definition at line 34 of file Event/RootCnvSvc/RootCnvSvc-02-01-13/RootCnvSvc/RootEvtIterator.h.

34 {
35 const RootEvtIterator* glastIt = dynamic_cast<const RootEvtIterator*>(&it);
36 return((m_recId == glastIt->m_recId));
37 }

◆ operator==() [2/2]

virtual bool RootEvtIterator::operator== ( const IEvtSelector::Iterator &  it) const
inlinevirtual

Definition at line 34 of file InstallArea/include/RootCnvSvc/RootCnvSvc/RootEvtIterator.h.

34 {
35 const RootEvtIterator* glastIt = dynamic_cast<const RootEvtIterator*>(&it);
36 return((m_recId == glastIt->m_recId));
37 }

Friends And Related Function Documentation

◆ RootEvtSelector


The documentation for this class was generated from the following files: