77 :
TCanvas(
"inspect",
"ROOT Object Inspector",ww,
wh)
135 if (
nreal == 0)
return;
160 tname.SetTextFont(61);
161 tname.SetTextAngle(0);
162 tname.SetTextAlign(12);
163 tname.SetTextColor(1);
262 char *pointer = (
char*)obj +
offset;
263 char **
ppointer = (
char**)(pointer);
271 if (
member->IsaPointer()) {
273 if (
clm && !
clm->IsStartingWithTObject() ) {
280 }
else if (!
member->IsBasic()) {
289 }
else if (!
strcmp(
member->GetFullTypeName(),
"char*") ||
323 tlink->SetTextFont(61);
324 tlink->SetTextAngle(0);
325 tlink->SetTextAlign(12);
326 tlink->SetTextColor(2);
351 if (!inspect)
return;
353 TObject *obj = inspect->GetObjects()->Before(
cur);
354 if (obj) inspect->InspectObject(obj);
363 if (!inspect)
return;
365 TObject *obj = inspect->GetObjects()->After(
cur);
366 if (obj) inspect->InspectObject(obj);
380 inspect->InspectObject(obj);
381 inspect->GetObjects()->Add(obj);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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 Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t SetFillColor
Option_t Option_t TPoint TPoint const char y1
R__EXTERN TGuiFactory * gGuiFactory
virtual void SetLineStyle(Style_t lstyle)
Set the line style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
void Update() override
Update canvas pad buffers.
UInt_t GetWh() const override
TClass instances represent classes, structs and namespaces in the ROOT type system.
void BuildRealData(void *pointer=nullptr, Bool_t isTransient=kFALSE)
Build a full list of persistent data members.
TList * GetListOfRealData() const
Bool_t IsTObject() const
Return kTRUE is the class inherits from TObject.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
All ROOT classes may have RTTI (run time type identification) support added.
Basic data type descriptor (datatype information is obtained from CINT).
static void GetDateTime(UInt_t datetime, Int_t &date, Int_t &time)
Static function that returns the date and time.
virtual TInspectorImp * CreateInspectorImp(const TObject *obj, UInt_t width, UInt_t height)
Create a batch version of TInspectorImp.
A TInspectCanvas is a canvas specialized to inspect Root objects.
TButton * fBackward
Pointer to the Backward button.
~TInspectCanvas() override
InspectCanvas default destructor.
TInspectCanvas()
InspectCanvas default constructor.
static void Inspector(TObject *obj)
static function , interface to InspectObject.
TList * fObjects
List of objects inspected.
TObject * fCurObject
Pointer to object being inspected.
void RecursiveRemove(TObject *obj) override
Recursively remove object from the list of objects.
static void GoBackward()
static function , inspect previous object
TButton * fForward
Pointer to the Forward button.
static void GoForward()
static function , inspect next object
virtual void InspectObject(TObject *obj)
Dump contents of obj in a graphics canvas.
This class is designed to wrap a Foreign object in order to inject it into the Browse sub-system.
TClass * IsA() const override
~TInspectorObject() override
TInspectorObject(void *obj, TClass *cl)
void Inspect() const override
Dump contents of this object in a graphics canvas.
TClass * fClass
pointer to the foreign object
Use the TLine constructor to create a simple line.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
Special TText object used to show hyperlinks.
void Clear(Option_t *option="") override
Remove all objects from the list.
TObject * Remove(TObject *obj) override
Remove object from the list.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * GetTitle() const
Returns title of object.
virtual TClass * IsA() const
@ kCanDelete
if object in a list can be deleted
void SetEditable(Bool_t mode=kTRUE) override
Set pad editable yes/no If a pad is not editable:
void RecursiveRemove(TObject *obj) override
Recursively remove object from a pad and its sub-pads.
void SetToolTipText(const char *text, Long_t delayms=1000) override
Set tool tip text associated with this pad.
TVirtualPad * GetVirtCanvas() const override
Get virtual canvas.
Int_t fLogx
(=0 if X linear scale, =1 if log scale)
TObject * FindObject(const char *name) const override
Search if object named name is inside this pad or in pads inside this pad.
Int_t fLogy
(=0 if Y linear scale, =1 if log scale)
The TRealData class manages the effective list of all data members for a given class.
Base class for several text objects.
small helper class to store/restore gPad context in TPad methods
TVirtualPad is an abstract base class for the Pad and Canvas classes.
virtual void SetCanvasSize(UInt_t ww, UInt_t wh)=0
virtual void Range(Double_t x1, Double_t y1, Double_t x2, Double_t y2)=0
void Clear(Option_t *option="") override=0