![]() |
AliRoot Core
da88d91 (da88d91)
|
Implementation of TIterator for AliMpExMap. More...
#include <AliMpExMapIterator.h>
Public Member Functions | |
AliMpExMapIterator (const AliMpExMap &theMap) | |
AliMpExMapIterator (const AliMpExMapIterator &rhs) | |
AliMpExMapIterator & | operator= (const AliMpExMapIterator &rhs) |
AliMpExMapIterator & | operator= (const TIterator &rhs) |
virtual | ~AliMpExMapIterator () |
virtual TObject * | Next () |
The returned object must not be deleted by the user. More... | |
TObject * | Next (Int_t &key) |
TObject * | Next (Int_t &keyFirst, Int_t &keySecond) |
TObject * | Next (TString &key) |
virtual void | Reset () |
virtual const TCollection * | GetCollection () const |
Private Types | |
typedef Long_t | Index_t |
Private Member Functions | |
Bool_t | Next (Index_t &index, TObject *&object) |
Private Attributes | |
TExMapIter * | fIterator |
iterator we are wrapping More... | |
Friends | |
class | AliMpExMap |
Implementation of TIterator for AliMpExMap.
Definition at line 24 of file AliMpExMapIterator.h.
|
private |
Definition at line 57 of file AliMpExMapIterator.h.
AliMpExMapIterator::AliMpExMapIterator | ( | const AliMpExMap & | theMap | ) |
Standard constructor
Definition at line 39 of file AliMpExMapIterator.cxx.
AliMpExMapIterator::AliMpExMapIterator | ( | const AliMpExMapIterator & | rhs | ) |
Copy constructor
Definition at line 47 of file AliMpExMapIterator.cxx.
|
virtual |
Destructor
Definition at line 82 of file AliMpExMapIterator.cxx.
|
virtual |
Nothing to be returned here, AliMpExMap is not a TCollection
Definition at line 173 of file AliMpExMapIterator.cxx.
|
virtual |
The returned object must not be deleted by the user.
Return the next object in iteration. The returned object must not be deleted by the user.
Definition at line 111 of file AliMpExMapIterator.cxx.
Referenced by Next(), AliMUON2DMapIteratorByI::NextIterator(), AliMpMotifMap::PrintMotifs(), and AliMpMotifMap::PrintMotifTypes().
TObject * AliMpExMapIterator::Next | ( | Int_t & | key | ) |
Return the next object in iteration and fill the key. The returned object must not be deleted by the user.
Definition at line 123 of file AliMpExMapIterator.cxx.
TObject * AliMpExMapIterator::Next | ( | Int_t & | keyFirst, |
Int_t & | keySecond | ||
) |
Return the next object in iteration and fill the key. The returned object must not be deleted by the user.
Definition at line 137 of file AliMpExMapIterator.cxx.
TObject * AliMpExMapIterator::Next | ( | TString & | key | ) |
Return the next object in iteration and fill the key. The returned object must not be deleted by the user.
Definition at line 151 of file AliMpExMapIterator.cxx.
|
private |
Move to next object in iteration
Definition at line 91 of file AliMpExMapIterator.cxx.
AliMpExMapIterator & AliMpExMapIterator::operator= | ( | const AliMpExMapIterator & | rhs | ) |
Assignment operator
Definition at line 56 of file AliMpExMapIterator.cxx.
AliMpExMapIterator & AliMpExMapIterator::operator= | ( | const TIterator & | rhs | ) |
Overriden operator= (imposed by Root's definition of TIterator::operator= ?)
Definition at line 69 of file AliMpExMapIterator.cxx.
|
virtual |
Reset
Definition at line 164 of file AliMpExMapIterator.cxx.
Referenced by AliMUON2DMapIteratorByI::Reset(), and AliMUONSimpleClusterServer::UseDigits().
|
friend |
Definition at line 26 of file AliMpExMapIterator.h.
|
private |
iterator we are wrapping
Definition at line 61 of file AliMpExMapIterator.h.
Referenced by Next(), operator=(), Reset(), and ~AliMpExMapIterator().