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_*");
33 ~TProofOutputList() override;
34
35 void AttachList(TList *alist);
36
37 void ls(Option_t *option="") const override ;
38 void Print(Option_t *option="") const override;
39 void Print(Option_t *option, Int_t recurse) const override
40 { TCollection::Print(option, recurse); }
41 void Print(Option_t *option, const char* wildcard, Int_t recurse=1) const override
42 { TCollection::Print(option, wildcard, recurse); }
43 void Print(Option_t *option, TPRegexp& regexp, Int_t recurse=1) const override
44 { TCollection::Print(option, regexp, recurse);}
45
47
48 ClassDefOverride(TProofOutputList, 1); // Output list specific TList derivation
49};
50
51#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
Derivation of TList with an overload of ls() and Print() allowing to filter out some of the variables...
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.