42 TMacro(
const char *
name,
const char *title=
"");
57 virtual void SetParams(
const char *params=0);
#define ClassDef(name, id)
Using a TBrowser one can browse all ROOT objects.
This code implements the MD5 message-digest algorithm.
Class supporting a collection of lines with C++ code.
virtual Long_t Exec(const char *params=0, Int_t *error=0)
Execute this macro with params, if params is 0, default parameters (set via SetParams) are used.
virtual TMD5 * Checksum()
Returns checksum of the current content.
virtual Bool_t Load() const
Load the macro into the interpreter.
virtual ~TMacro()
Delete this macro.
virtual void Paint(Option_t *option="")
Execute this macro (called by TPad::Paint).
virtual TObjString * AddLine(const char *text)
Add line with text in the list of lines of this macro.
virtual Int_t ReadFile(const char *filename)
Read lines in filename in this macro.
void SaveSource(FILE *fp)
Save macro source in file pointer fp.
TMacro()
Create an empty macro, use AddLine() or ReadFile() to fill this macro.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save macro source on stream out.
virtual void Browse(TBrowser *b)
When clicking in the browser, the following action is performed on this macro, depending the content ...
TMacro & operator=(const TMacro &)
Copy constructor.
virtual void SetParams(const char *params=0)
Set default parameters to execute this macro.
TList * GetListOfLines() const
virtual TObjString * GetLineWith(const char *text) const
Search the first line containing text.
virtual void Print(Option_t *option="") const
Print contents of this macro.
The TNamed class is the base class for all named ROOT classes.
Collectable string class.