Logo ROOT  
Reference Guide
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 #include "TList.h"
25 
26 class TProofOutputList : public TList {
27 
28 private:
29  TList *fDontShow; // list of reg expression defining what should not be shown
30 
31 public:
32  TProofOutputList(const char *dontshow = "PROOF_*");
33 TProofOutputList(TObject *o) : TList(o), fDontShow(0) { } // for backward compatibility, don't use
34  virtual ~TProofOutputList();
35 
36  void AttachList(TList *alist);
37 
38  virtual void ls(Option_t *option="") const ;
39  virtual void Print(Option_t *option="") const;
40  virtual void Print(Option_t *option, Int_t recurse) const
41  { TCollection::Print(option, recurse); }
42  virtual void Print(Option_t *option, const char* wildcard, Int_t recurse=1) const
43  { TCollection::Print(option, wildcard, recurse); }
44  virtual void Print(Option_t *option, TPRegexp& regexp, Int_t recurse=1) const
45  { TCollection::Print(option, regexp, recurse);}
46 
48 
49  ClassDef(TProofOutputList, 1); // Output list specific TList derivation
50 };
51 
52 #endif
TProofOutputList
Derivation of TList with an overload of ls() and Print() allowing to filter out some of the variables...
Definition: TProofOutputList.h:26
TProofOutputList::Print
virtual void Print(Option_t *option, Int_t recurse) const
Print the collection header and its elements.
Definition: TProofOutputList.h:40
TCollection::Print
virtual void Print(Option_t *option="") const
Default print for collections, calls Print(option, 1).
Definition: TCollection.cxx:476
Option_t
const char Option_t
Definition: RtypesCore.h:66
TProofOutputList::Print
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.
Definition: TProofOutputList.h:42
TProofOutputList::AttachList
void AttachList(TList *alist)
Attach to list 'alist'.
Definition: TProofOutputList.cxx:53
TList.h
TProofOutputList::GetDontShowList
TList * GetDontShowList()
Definition: TProofOutputList.h:47
TProofOutputList::~TProofOutputList
virtual ~TProofOutputList()
Destructor.
Definition: TProofOutputList.cxx:44
TProofOutputList::Print
virtual void Print(Option_t *option, TPRegexp &regexp, Int_t recurse=1) const
Print the collection header and its elements that match the regexp.
Definition: TProofOutputList.h:44
TProofOutputList::ls
virtual void ls(Option_t *option="") const
List the content of the list.
Definition: TProofOutputList.cxx:68
TPRegexp
Definition: TPRegexp.h:36
TProofOutputList::TProofOutputList
TProofOutputList(const char *dontshow="PROOF_*")
Constructor.
Definition: TProofOutputList.cxx:31
TObject
Mother of all ROOT objects.
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TProofOutputList::Print
virtual void Print(Option_t *option="") const
Print the content of the list.
Definition: TProofOutputList.cxx:115
TProofOutputList::fDontShow
TList * fDontShow
Definition: TProofOutputList.h:29
TProofOutputList::TProofOutputList
TProofOutputList(TObject *o)
Definition: TProofOutputList.h:33
TList
A doubly linked list.
Definition: TList.h:44
int