]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpStringObjMap.h
MUON + CheckCompiler
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpStringObjMap.h
diff --git a/MUON/mapping/AliMpStringObjMap.h b/MUON/mapping/AliMpStringObjMap.h
deleted file mode 100644 (file)
index ec33341..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
-
-// $Id$
-
-/// \ingroup core
-/// \class AliMpStringObjMap
-/// \brief Substitutes map <string, TObject> which ALICE does not allow to use 
-///
-/// The map is not optimised for large data size
-///
-/// \author Ivana Hrivnacova, IPN Orsay
-
-#ifndef ALI_MP_STRING_OBJ_MAP_H
-#define ALI_MP_STRING_OBJ_MAP_H
-
-#include <TObject.h>
-#include <TObjArray.h>
-#include <TArrayI.h>
-
-using std::ofstream;
-
-class AliMpStringObjMap : public TObject
-{
-  public:
-    AliMpStringObjMap(Bool_t isOwner = false);
-    virtual ~AliMpStringObjMap();
-    
-    // methods
-    Bool_t    Add(const TString& first, TObject* second);
-    TObject*  Get(const TString& first) const;
-    Int_t     GetNofItems() const;
-    virtual void Clear(Option_t* /*option*/ ="");
-    virtual void Print(const char* /*option*/ = "") const;
-    void Print(const TString& key, ofstream& out) const;
-    
-    // iterating over elements
-    void  First();
-    void  Next();
-    TObject*  CurrentItem();
-    TString   CurrentKey();
-    Bool_t  IsDone() const;
-    
-  private:
-    /// Not implemented
-    AliMpStringObjMap(const AliMpStringObjMap& rhs);
-    /// Not implemented
-    AliMpStringObjMap& operator = (const AliMpStringObjMap& rhs);
-    
-    // static methods
-    static const TString& GetUndefinedKey(); 
-
-    // data members
-    Int_t      fNofItems;     ///<  number of items
-    TObjArray  fFirstArray;   ///<  first item array
-    TObjArray  fSecondArray;  ///<  second item array
-    Int_t      fCurrentIndex; ///<  current item index (for iteration)
-  ClassDef(AliMpStringObjMap,1)  // motif map
-};    
-
-#endif //ALI_MP_STRING_OBJ_MAP_H