Line data Source code
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 :
7 : /// \ingroup basic
8 : /// \class AliMpDataMap
9 : /// \brief TObject class containing a map of strings to strings
10 : ///
11 : /// \author Ivana Hrivnacova; IPN Orsay
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 :
31 : /// Return the map constant reference
32 0 : const TMap& GetMap() const { return fMap; }
33 :
34 : private:
35 : TMap fMap; ///< the map of strings to strings
36 :
37 54 : ClassDef(AliMpDataMap,1) // TObject class containing a map of strings to strings
38 : };
39 :
40 : #endif //ALI_MP_EX_MAP_H
41 :
|