16 #ifndef ALI_MP_EX_MAP_H
17 #define ALI_MP_EX_MAP_H
20 #include <TObjArray.h>
42 static Long_t
GetIndex(
const TString& s);
46 virtual void Clear(Option_t* opt=
"");
47 virtual void Print(Option_t* opt=
"")
const;
50 void Add(Int_t keyFirst, Int_t keySecond, TObject*
object);
51 void Add(
const TString& key, TObject*
object);
52 void Add(Int_t key, TObject*
object);
61 TObject*
GetValue(Int_t keyFirst, Int_t keySecond)
const;
62 TObject*
GetValue(
const TString& key)
const;
74 static Long_t
GetIndex(Int_t first, Int_t second);
80 void Copy(TObject& dest)
const;
99 #endif //ALI_MP_EX_MAP_H
virtual void Print(Option_t *opt="") const
static const TString & GetCharacterMap()
AliMpExMap & operator=(const AliMpExMap &rhs)
static const Int_t fgkDefaultSize
Default initial size.
void Copy(TObject &dest) const
static const Bool_t fgkDefaultOwnership
Default ownership.
TObject * GetValue(Int_t keyFirst, Int_t keySecond) const
TExMap fMap
! Transient map class
void Add(Int_t keyFirst, Int_t keySecond, TObject *object)
static const Int_t fgkSeparator2
the separator used for conversion of TString to Int_t
void SetOwner(Bool_t owner)
static const Int_t fgkSeparator1
the separator used for conversion of Int_t pair to Int_t
static Int_t GetPairSecond(Long_t index)
TArrayL fKeys
Array of keys.
static Long_t GetIndex(const TString &s)
static TString GetString(Long_t index)
Implementation of TIterator for AliMpExMap.
virtual void Clear(Option_t *opt="")
Int_t GetCapacity() const
Helper class making Root persistent TExMap.
AliMpExMapIterator * CreateIterator() const
TObjArray fObjects
Array of objects.
static Int_t GetPairFirst(Long_t index)