]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONLogger.h
Interfaced Iterator and Print method from AliMUONStringIntMap
[u/mrichter/AliRoot.git] / MUON / AliMUONLogger.h
index a204cf7f13824c4ff9b9264d41006b31a8751737..0a24244ad8d5701a19695d3c35abacc07cb1157c 100644 (file)
 /// 
 //  Author Laurent Aphecetche
 
+#include <Riostream.h>
+
 #ifndef ROOT_TObject
 #  include "TObject.h"
 #endif
 
+#ifndef ROOT_TString
+#  include "TString.h"
+#endif
+
 class AliMUONStringIntMap;
 
 class AliMUONLogger : public TObject
@@ -24,9 +30,14 @@ public:
   AliMUONLogger(Int_t maxNumberOfEntries=-1);
   virtual ~AliMUONLogger();
   
-  Int_t Log(const char* message);
+  Int_t  Log(const char* message);
+  
+  void   Print(Option_t* opt="") const;
+  
+  void   Print(TString& key, ofstream& out) const;
   
-  void Print(Option_t* opt="") const;
+  Bool_t Next(TString& msg, Int_t& occurance);
+  void   ResetItr();
   
 private:
   /// Not implemented