// @(#)root/proofplayer:$Id$
// Author: G. Ganis   04/08/2010

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TProofOutputList
#define ROOT_TProofOutputList

//////////////////////////////////////////////////////////////////////////
//                                                                      //
// TProofList                                                           //
//                                                                      //
// Derivation of TList with an overload of ls() and Print() allowing    //
// to filter out some of the variables.                                 //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TList
#include "TList.h"
#endif

class TProofOutputList : public TList {

private:
   TList *fDontShow; // list of reg expression defining what should not be shown
  
public:
   TProofOutputList(const char *dontshow = "PROOF_*");
TProofOutputList(TObject *o) : TList(o), fDontShow(0) { } // for backward compatibility, don't use
   virtual ~TProofOutputList();

   void AttachList(TList *alist);
   
   virtual void ls(Option_t *option="") const ;
   virtual void Print(Option_t *option="") const;
   virtual void Print(Option_t *option, Int_t recurse) const
                                { TCollection::Print(option, recurse); }
   virtual void Print(Option_t *option, const char* wildcard, Int_t recurse=1) const
                                { TCollection::Print(option, wildcard, recurse); }
   virtual void Print(Option_t *option, TPRegexp& regexp, Int_t recurse=1) const
                                { TCollection::Print(option, regexp, recurse);}

   TList *GetDontShowList() { return fDontShow; }
   
   ClassDef(TProofOutputList, 1);  // Output list specific TList derivation
};

#endif
 TProofOutputList.h:1
 TProofOutputList.h:2
 TProofOutputList.h:3
 TProofOutputList.h:4
 TProofOutputList.h:5
 TProofOutputList.h:6
 TProofOutputList.h:7
 TProofOutputList.h:8
 TProofOutputList.h:9
 TProofOutputList.h:10
 TProofOutputList.h:11
 TProofOutputList.h:12
 TProofOutputList.h:13
 TProofOutputList.h:14
 TProofOutputList.h:15
 TProofOutputList.h:16
 TProofOutputList.h:17
 TProofOutputList.h:18
 TProofOutputList.h:19
 TProofOutputList.h:20
 TProofOutputList.h:21
 TProofOutputList.h:22
 TProofOutputList.h:23
 TProofOutputList.h:24
 TProofOutputList.h:25
 TProofOutputList.h:26
 TProofOutputList.h:27
 TProofOutputList.h:28
 TProofOutputList.h:29
 TProofOutputList.h:30
 TProofOutputList.h:31
 TProofOutputList.h:32
 TProofOutputList.h:33
 TProofOutputList.h:34
 TProofOutputList.h:35
 TProofOutputList.h:36
 TProofOutputList.h:37
 TProofOutputList.h:38
 TProofOutputList.h:39
 TProofOutputList.h:40
 TProofOutputList.h:41
 TProofOutputList.h:42
 TProofOutputList.h:43
 TProofOutputList.h:44
 TProofOutputList.h:45
 TProofOutputList.h:46
 TProofOutputList.h:47
 TProofOutputList.h:48
 TProofOutputList.h:49
 TProofOutputList.h:50
 TProofOutputList.h:51
 TProofOutputList.h:52
 TProofOutputList.h:53
 TProofOutputList.h:54