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