![]() |
ROOT
6.06/09
Reference Guide
|
Public Member Functions | |
TMapIter (const TMap *map, Bool_t dir=kIterForward) | |
TMapIter (const TMapIter &iter) | |
Copy ctor. More... | |
~TMapIter () | |
Map iterator dtor. More... | |
TIterator & | operator= (const TIterator &rhs) |
Overridden assignment operator. More... | |
TMapIter & | operator= (const TMapIter &rhs) |
Overloaded assignment operator. More... | |
const TCollection * | GetCollection () const |
TObject * | Next () |
Returns the next key from a map. More... | |
void | Reset () |
Reset the map iterator. More... | |
Bool_t | operator!= (const TIterator &aIter) const |
This operator compares two TIterator objects. More... | |
Bool_t | operator!= (const TMapIter &aIter) const |
This operator compares two TMapIter objects. More... | |
TObject * | operator* () const |
Return pointer to current object (a TPair) or nullptr. More... | |
![]() | |
virtual | ~TIterator () |
virtual Option_t * | GetOption () const |
TObject * | operator() () |
Bool_t | operator== (const TIterator &other) const |
Private Member Functions | |
TMapIter () | |
Private Attributes | |
const TMap * | fMap |
THashTableIter * | fCursor |
Bool_t | fDirection |
Additional Inherited Members | |
![]() | |
TIterator () | |
TIterator (const TIterator &) | |
#include <TMap.h>
TMapIter::TMapIter | ( | const TMap * | map, |
Bool_t | dir = kIterForward |
||
) |
|
inlinevirtual |
|
virtual |
Returns the next key from a map.
Use TMap::GetValue() to get the value associated with the key. Returns 0 when no more items in map.
Implements TIterator.
Definition at line 531 of file TMap.cxx.
Referenced by TUnfoldSys::DoBackgroundSubtraction(), TUnfoldSys::GetBackground(), TUnfoldSys::GetEmatrixTotal(), TUnfoldSys::GetSummedErrorMatrixXX(), TUnfoldSys::GetSummedErrorMatrixYY(), and TUnfoldSys::PrepareSysError().
|
virtual |
Bool_t TMapIter::operator!= | ( | const TMapIter & | aIter | ) | const |
|
virtual |
Reset the map iterator.
Implements TIterator.
Definition at line 544 of file TMap.cxx.
Referenced by ~TMapIter().
|
private |
Definition at line 155 of file TMap.h.
Referenced by Next(), operator!=(), operator*(), operator=(), Reset(), and TMapIter().
|
private |
Definition at line 156 of file TMap.h.
Referenced by Next(), operator=(), and TMapIter().
|
private |
Definition at line 154 of file TMap.h.
Referenced by GetCollection(), Next(), operator=(), and TMapIter().