ROOT
6.30.04
Reference Guide
All
Namespaces
Files
Pages
TExec.h
Go to the documentation of this file.
1
// @(#)root/base:$Id$
2
// Author: Rene Brun 29/12/99
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_TExec
13
#define ROOT_TExec
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TExec //
19
// //
20
// A TExec object can execute a CINT command. //
21
// //
22
//////////////////////////////////////////////////////////////////////////
23
24
25
#include "
TNamed.h
"
26
27
28
class
TExec :
public
TNamed {
29
30
public
:
31
32
TExec();
33
TExec(
const
char
*name,
const
char
*command);
34
TExec(
const
TExec &text);
35
virtual
~TExec();
36
virtual
void
Exec(
const
char
*command=
""
);
37
virtual
void
Paint(Option_t *option=
""
);
38
virtual
void
SavePrimitive(std::ostream &out, Option_t *option =
""
);
39
virtual
void
SetAction(
const
char
*action) {SetTitle(action);}
40
41
ClassDef(TExec,1);
//To execute a CINT command
42
};
43
44
#endif
45
TNamed.h
core
base
inc
TExec.h
Generated on Tue May 5 2020 14:02:19 for ROOT by
1.8.5