GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
GH2Base::iterator Class Reference

Definition at line 60 of file GH2Base.h.

Public Member Functions

 iterator (GH2Base *mat, bool at_end=false)
 
bool operator!= (const iterator &b) const
 
GH1Doperator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
GH1Doperator-> () const
 
bool operator== (const iterator &b) const
 

Private Attributes

GH1DfCurr
 
GH1DfFirst
 
GH2BasefMat
 

#include <GH2Base.h>

+ Collaboration diagram for GH2Base::iterator:

Constructor & Destructor Documentation

◆ iterator()

GH2Base::iterator::iterator ( GH2Base mat,
bool  at_end = false 
)
inline

Definition at line 62 of file GH2Base.h.

Member Function Documentation

◆ operator!=()

bool GH2Base::iterator::operator!= ( const iterator b) const
inline

Definition at line 89 of file GH2Base.h.

◆ operator*()

GH1D& GH2Base::iterator::operator* ( ) const
inline

Definition at line 67 of file GH2Base.h.

References fCurr.

◆ operator++() [1/2]

iterator& GH2Base::iterator::operator++ ( )
inline

Definition at line 71 of file GH2Base.h.

References fCurr, fFirst, fMat, and GH2Base::GetNext().

◆ operator++() [2/2]

iterator GH2Base::iterator::operator++ ( int  )
inline

Definition at line 81 of file GH2Base.h.

◆ operator->()

GH1D* GH2Base::iterator::operator-> ( ) const
inline

Definition at line 68 of file GH2Base.h.

References fCurr.

◆ operator==()

bool GH2Base::iterator::operator== ( const iterator b) const
inline

Definition at line 88 of file GH2Base.h.

References fCurr, fFirst, and fMat.

Member Data Documentation

◆ fCurr

GH1D* GH2Base::iterator::fCurr
private

Definition at line 94 of file GH2Base.h.

Referenced by operator*(), operator++(), operator->(), and operator==().

◆ fFirst

GH1D* GH2Base::iterator::fFirst
private

Definition at line 93 of file GH2Base.h.

Referenced by operator++(), and operator==().

◆ fMat

GH2Base* GH2Base::iterator::fMat
private

Definition at line 92 of file GH2Base.h.

Referenced by operator++(), and operator==().