AliRoot Core  3dc7879 (3dc7879)
AliMUON2DMapIterator Class Reference

Implementation of TIterator for 2D maps. More...

#include <AliMUON2DMapIterator.h>

Inheritance diagram for AliMUON2DMapIterator:

Public Member Functions

 AliMUON2DMapIterator (const AliMpExMap &theMap)
 
virtual ~AliMUON2DMapIterator ()
 
virtual TObject * Next ()
 The returned object must not be deleted by the user. More...
 
virtual void Reset ()
 
virtual const TCollection * GetCollection () const
 

Private Member Functions

TIterator * NextIterator ()
 
 AliMUON2DMapIterator (const AliMUON2DMapIterator &rhs)
 Not implemented. More...
 
AliMUON2DMapIteratoroperator= (const AliMUON2DMapIterator &rhs)
 Not implemented. More...
 
AliMUON2DMapIteratoroperator= (const TIterator &rhs)
 Overriden TIterator virtual operator=. More...
 

Private Attributes

const AliMpExMapfkMap
 Top map we iterate upon. More...
 
TIterator * fIter1
 first iterator More...
 
TIterator * fIter2
 second iterator More...
 

Detailed Description

Implementation of TIterator for 2D maps.

Implementation of TIterator for 2Dmaps

A simple implementation of VDataIterator for 2Dmaps.

Author
Laurent Aphecetche

Definition at line 22 of file AliMUON2DMapIterator.h.

Constructor & Destructor Documentation

AliMUON2DMapIterator::AliMUON2DMapIterator ( const AliMpExMap theMap)

default ctor

Definition at line 38 of file AliMUON2DMapIterator.cxx.

AliMUON2DMapIterator::~AliMUON2DMapIterator ( )
virtual

dtor

Definition at line 59 of file AliMUON2DMapIterator.cxx.

AliMUON2DMapIterator::AliMUON2DMapIterator ( const AliMUON2DMapIterator rhs)
private

Not implemented.

Member Function Documentation

const TCollection * AliMUON2DMapIterator::GetCollection ( ) const
virtual

Return 0 as we're not really dealing with a Root TCollection...

Definition at line 68 of file AliMUON2DMapIterator.cxx.

TObject * AliMUON2DMapIterator::Next ( )
virtual

The returned object must not be deleted by the user.

return next object

Definition at line 89 of file AliMUON2DMapIterator.cxx.

TIterator * AliMUON2DMapIterator::NextIterator ( )
private

Get next map (from fIter1) and create an iterator to it

Definition at line 76 of file AliMUON2DMapIterator.cxx.

Referenced by Next(), and Reset().

AliMUON2DMapIterator& AliMUON2DMapIterator::operator= ( const AliMUON2DMapIterator rhs)
private

Not implemented.

AliMUON2DMapIterator & AliMUON2DMapIterator::operator= ( const TIterator &  rhs)
private

Overriden TIterator virtual operator=.

Definition at line 50 of file AliMUON2DMapIterator.cxx.

void AliMUON2DMapIterator::Reset ( void  )
virtual

rewind the iterator

Definition at line 109 of file AliMUON2DMapIterator.cxx.

Member Data Documentation

TIterator* AliMUON2DMapIterator::fIter1
private

first iterator

Definition at line 48 of file AliMUON2DMapIterator.h.

Referenced by NextIterator(), Reset(), and ~AliMUON2DMapIterator().

TIterator* AliMUON2DMapIterator::fIter2
private

second iterator

Definition at line 49 of file AliMUON2DMapIterator.h.

Referenced by Next(), Reset(), and ~AliMUON2DMapIterator().

const AliMpExMap* AliMUON2DMapIterator::fkMap
private

Top map we iterate upon.

Definition at line 47 of file AliMUON2DMapIterator.h.


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