AliRoot Core  da88d91 (da88d91)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpExMapIterator Class Reference

Implementation of TIterator for AliMpExMap. More...

#include <AliMpExMapIterator.h>

Inheritance diagram for AliMpExMapIterator:

Public Member Functions

 AliMpExMapIterator (const AliMpExMap &theMap)
 
 AliMpExMapIterator (const AliMpExMapIterator &rhs)
 
AliMpExMapIteratoroperator= (const AliMpExMapIterator &rhs)
 
AliMpExMapIteratoroperator= (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
 

Detailed Description

Implementation of TIterator for AliMpExMap.

Definition at line 24 of file AliMpExMapIterator.h.

Member Typedef Documentation

typedef Long_t AliMpExMapIterator::Index_t
private

Definition at line 57 of file AliMpExMapIterator.h.

Constructor & Destructor Documentation

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.

AliMpExMapIterator::~AliMpExMapIterator ( )
virtual

Destructor

Definition at line 82 of file AliMpExMapIterator.cxx.

Member Function Documentation

const TCollection * AliMpExMapIterator::GetCollection ( ) const
virtual

Nothing to be returned here, AliMpExMap is not a TCollection

Definition at line 173 of file AliMpExMapIterator.cxx.

TObject * AliMpExMapIterator::Next ( )
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.

Bool_t AliMpExMapIterator::Next ( Index_t index,
TObject *&  object 
)
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.

void AliMpExMapIterator::Reset ( void  )
virtual

Friends And Related Function Documentation

friend class AliMpExMap
friend

Definition at line 26 of file AliMpExMapIterator.h.

Member Data Documentation

TExMapIter* AliMpExMapIterator::fIterator
private

iterator we are wrapping

Definition at line 61 of file AliMpExMapIterator.h.

Referenced by Next(), operator=(), Reset(), and ~AliMpExMapIterator().


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