AliRoot Core  edcc906 (edcc906)
AliMpDataMap.h
Go to the documentation of this file.
1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2  * See cxx source for full Copyright notice */
3 
4 // $Id$
5 // $MpId: AliMpDataMap.h,v 1.4 2006/05/24 13:58:07 ivana Exp $
6 
12 
13 #ifndef ALI_MP_DATA_MAP_H
14 #define ALI_MP_DATA_MAP_H
15 
16 #include <TObject.h>
17 #include <TMap.h>
18 
19 using namespace std;
20 
21 class AliMpDataMap : public TObject
22 {
23  public:
24  AliMpDataMap();
25  virtual ~AliMpDataMap();
26 
27  // methods
28  void Add(const TString& path, const TString& data);
29  TString Get(const TString& path, Bool_t warn = kTRUE) const;
30 
32  const TMap& GetMap() const { return fMap; }
33 
34  void Print(Option_t*) const;
35 
36  private:
37  TMap fMap;
38 
39  ClassDef(AliMpDataMap,1) // TObject class containing a map of strings to strings
40 };
41 
42 #endif //ALI_MP_EX_MAP_H
43 
TMap fMap
the map of strings to strings
Definition: AliMpDataMap.h:37
void Add(AliMUONVStore &destStore, const AliMUONVStore &srcStore)
Definition: MCHOCCda.cxx:68
const char * path
void Print(const char *method, TStopwatch &timer, Int_t n)
const TMap & GetMap() const
Return the map constant reference.
Definition: AliMpDataMap.h:32
TObject class containing a map of strings to strings.
Definition: AliMpDataMap.h:21