![]() |
AliRoot Core
edcc906 (edcc906)
|
An iterator over the pads of a sector. More...
#include <AliMpSectorPadIterator.h>
Public Member Functions | |
AliMpSectorPadIterator () | |
AliMpSectorPadIterator (const AliMpSector *sector) | |
AliMpSectorPadIterator (const AliMpSectorPadIterator &src) | |
virtual | ~AliMpSectorPadIterator () |
AliMpSectorPadIterator & | operator= (const AliMpSectorPadIterator &right) |
virtual void | First () |
Set iterator to the first pad. More... | |
virtual void | Next () |
Set iterator to the next pad. More... | |
virtual Bool_t | IsDone () const |
Is iterator done. More... | |
virtual AliMpPad | CurrentItem () const |
Return current pad. More... | |
virtual void | Invalidate () |
Invalidate iterator (. More... | |
![]() | |
AliMpVPadIterator () | |
AliMpVPadIterator (const AliMpVPadIterator &right) | |
virtual | ~AliMpVPadIterator () |
AliMpVPadIterator & | operator= (const AliMpVPadIterator &right) |
Private Member Functions | |
AliMpMotifPosition * | ResetToCurrentMotifPosition () |
Bool_t | IsValid () const |
Private Attributes | |
const AliMpSector * | fkSector |
the sector over which to iterate More... | |
UInt_t | fCurrentIndex |
the current motif position index More... | |
AliMpMotifPosition * | fMotifPos |
the current motif position More... | |
AliMpMotifPositionPadIterator | fIterator |
iterator over the current motif type More... | |
An iterator over the pads of a sector.
Definition at line 23 of file AliMpSectorPadIterator.h.
AliMpSectorPadIterator::AliMpSectorPadIterator | ( | ) |
Default constructor, set the current position to "invalid"
Definition at line 43 of file AliMpSectorPadIterator.cxx.
AliMpSectorPadIterator::AliMpSectorPadIterator | ( | const AliMpSector * | sector | ) |
Standard constructor, set *this to invalid position
Definition at line 54 of file AliMpSectorPadIterator.cxx.
AliMpSectorPadIterator::AliMpSectorPadIterator | ( | const AliMpSectorPadIterator & | src | ) |
Copy constructor
Definition at line 65 of file AliMpSectorPadIterator.cxx.
|
virtual |
Destructor
Definition at line 78 of file AliMpSectorPadIterator.cxx.
|
virtual |
Return current pad.
Return current pad.
Implements AliMpVPadIterator.
Definition at line 186 of file AliMpSectorPadIterator.cxx.
|
virtual |
Set iterator to the first pad.
Reset the iterator, so that it points to the first available pad in the sector
Implements AliMpVPadIterator.
Definition at line 141 of file AliMpSectorPadIterator.cxx.
|
virtual |
Invalidate iterator (.
Let the iterator point to the invalid position
Implements AliMpVPadIterator.
Definition at line 199 of file AliMpSectorPadIterator.cxx.
Referenced by First(), Next(), and ResetToCurrentMotifPosition().
|
virtual |
Is iterator done.
Is the iterator in the end?
Implements AliMpVPadIterator.
Definition at line 178 of file AliMpSectorPadIterator.cxx.
|
private |
Is the iterator in a valid position?
Definition at line 129 of file AliMpSectorPadIterator.cxx.
Referenced by CurrentItem(), IsDone(), and Next().
|
virtual |
Set iterator to the next pad.
Move the iterator to the next valid pad.
Implements AliMpVPadIterator.
Definition at line 157 of file AliMpSectorPadIterator.cxx.
AliMpSectorPadIterator & AliMpSectorPadIterator::operator= | ( | const AliMpSectorPadIterator & | right | ) |
Assignment operator
Definition at line 89 of file AliMpSectorPadIterator.cxx.
|
private |
Find the AliMpMotifType object associated with the triplet (fCurrentRow, fCurrentSeg, fCurrentMotif), place it in the private fMotifType member and return it.
Definition at line 110 of file AliMpSectorPadIterator.cxx.
|
private |
the current motif position index
Definition at line 48 of file AliMpSectorPadIterator.h.
Referenced by First(), Next(), operator=(), and ResetToCurrentMotifPosition().
|
private |
iterator over the current motif type
Definition at line 50 of file AliMpSectorPadIterator.h.
Referenced by CurrentItem(), Invalidate(), Next(), operator=(), and ResetToCurrentMotifPosition().
|
private |
the sector over which to iterate
Definition at line 47 of file AliMpSectorPadIterator.h.
Referenced by First(), IsValid(), operator=(), and ResetToCurrentMotifPosition().
|
private |
the current motif position
Definition at line 49 of file AliMpSectorPadIterator.h.
Referenced by Invalidate(), IsValid(), operator=(), and ResetToCurrentMotifPosition().