]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpStringObjMap.h
Updated/added comments for Doxygen
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpStringObjMap.h
CommitLineData
c623aa64 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4// $Id$
5
6/// \ingroup basic
7/// \class AliMpStringObjMap
8/// \brief Substitutes map <string, TObject> which ALICE does not allow to use
9///
13985652 10/// \author Ivana Hrivnacova, IPN Orsay
c623aa64 11
12#ifndef ALI_MP_STRING_OBJ_MAP_H
13#define ALI_MP_STRING_OBJ_MAP_H
14
15#include <TObject.h>
16#include <TObjArray.h>
17#include <TArrayI.h>
18
19class AliMpStringObjMap : public TObject
20{
21 public:
973e9d18 22 AliMpStringObjMap(Bool_t isOwner = false);
c623aa64 23 virtual ~AliMpStringObjMap();
24
25 // methods
26 Bool_t Add(const TString& first, TObject* second);
27 TObject* Get(const TString& first) const;
28 Int_t GetNofItems() const;
29 virtual void Clear(Option_t* /*option*/ ="");
30 virtual void Print(const char* /*option*/ = "") const;
31 void Print(const TString& key, ofstream& out) const;
32
13e7956b 33 private:
f5671fc3 34 /// Not implemented
c623aa64 35 AliMpStringObjMap(const AliMpStringObjMap& rhs);
f5671fc3 36 /// Not implemented
c623aa64 37 AliMpStringObjMap& operator = (const AliMpStringObjMap& rhs);
13e7956b 38
c623aa64 39 // data members
829425a5 40 Int_t fNofItems; ///< number of items
41 TObjArray fFirstArray; ///< first item array
42 TObjArray fSecondArray; ///< second item array
c623aa64 43
44 ClassDef(AliMpStringObjMap,1) // motif map
45};
46
47#endif //ALI_MP_STRING_OBJ_MAP_H