ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TProofOutputList.h
Go to the documentation of this file.
1 // @(#)root/proofplayer:$Id$
2 // Author: G. Ganis 04/08/2010
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TProofOutputList
13 #define ROOT_TProofOutputList
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TProofList //
18 // //
19 // Derivation of TList with an overload of ls() and Print() allowing //
20 // to filter out some of the variables. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TList
25 #include "TList.h"
26 #endif
27 
28 class TProofOutputList : public TList {
29 
30 private:
31  TList *fDontShow; // list of reg expression defining what should not be shown
32 
33 public:
34  TProofOutputList(const char *dontshow = "PROOF_*");
35 TProofOutputList(TObject *o) : TList(o), fDontShow(0) { } // for backward compatibility, don't use
36  virtual ~TProofOutputList();
37 
38  void AttachList(TList *alist);
39 
40  virtual void ls(Option_t *option="") const ;
41  virtual void Print(Option_t *option="") const;
42  virtual void Print(Option_t *option, Int_t recurse) const
43  { TCollection::Print(option, recurse); }
44  virtual void Print(Option_t *option, const char* wildcard, Int_t recurse=1) const
45  { TCollection::Print(option, wildcard, recurse); }
46  virtual void Print(Option_t *option, TPRegexp& regexp, Int_t recurse=1) const
47  { TCollection::Print(option, regexp, recurse);}
48 
50 
51  ClassDef(TProofOutputList, 1); // Output list specific TList derivation
52 };
53 
54 #endif
TProofOutputList(const char *dontshow="PROOF_*")
TList * GetDontShowList()
const char Option_t
Definition: RtypesCore.h:62
void regexp()
Definition: regexp.C:34
int Int_t
Definition: RtypesCore.h:41
A doubly linked list.
Definition: TList.h:47
virtual void Print(Option_t *option="") const
Print the content of the list.
virtual void Print(Option_t *option, TPRegexp &regexp, Int_t recurse=1) const
Print the collection header and its elements that match the regexp.
TProofOutputList(TObject *o)
virtual void Print(Option_t *option, Int_t recurse) const
Print the collection header and its elements.
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
virtual ~TProofOutputList()
Destructor.
Mother of all ROOT objects.
Definition: TObject.h:58
ClassDef(TProofOutputList, 1)
virtual void ls(Option_t *option="") const
List the content of the list.
void AttachList(TList *alist)
Attach to list 'alist'.
Derivation of TList with an overload of ls() and Print() allowing to filter out some of the variables...
virtual void Print(Option_t *option, const char *wildcard, Int_t recurse=1) const
Print the collection header and its elements that match the wildcard.