42 TMacro(
const char *
name,
const char *title=
"");
57 virtual void SetParams(
const char *params =
nullptr);
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char filename
Option_t Option_t TPoint TPoint const char text
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 TMD5 * Checksum()
Returns checksum of the current content.
void Print(Option_t *option="") const override
Print contents of this macro.
virtual Bool_t Load() const
Load the macro into the interpreter.
virtual ~TMacro()
Delete this macro.
virtual void SetParams(const char *params=nullptr)
Set default parameters to execute this macro.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save macro source on stream out.
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.
virtual Longptr_t Exec(const char *params=nullptr, Int_t *error=nullptr)
Execute this macro with params, if params is 0, default parameters (set via SetParams) are used.
TMacro()
Create an empty macro, use AddLine() or ReadFile() to fill this macro.
TMacro & operator=(const TMacro &)
Copy constructor.
TList * GetListOfLines() const
void Paint(Option_t *option="") override
Execute this macro (called by TPad::Paint).
void Browse(TBrowser *b) override
When clicking in the browser, the following action is performed on this macro, depending the content ...
virtual TObjString * GetLineWith(const char *text) const
Search the first line containing text.
The TNamed class is the base class for all named ROOT classes.
Collectable string class.