Logo ROOT  
Reference Guide
ROOT::Experimental::RObjectDisplayItem Class Reference

Display item for TObject with drawing options.

Author
Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
Date
2017-05-31
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 87 of file RDisplayItem.hxx.

Public Member Functions

 RObjectDisplayItem (const TObject *obj, const std::string &opt)
 
- Public Member Functions inherited from ROOT::Experimental::RDisplayItem
 RDisplayItem ()=default
 
virtual ~RDisplayItem ()
 
virtual void BuildFullId (const std::string &prefix)
 
unsigned GetIndex () const
 
std::string GetObjectID () const
 
void SetIndex (unsigned indx)
 
void SetObjectID (const std::string &id)
 
void SetObjectIDAsPtr (const void *ptr)
 Assign id using arbitrary pointer value Typically drawable pointer should be used here. More...
 
void SetStyle (RStyle *style)
 

Protected Attributes

const TObjectfObject {nullptr}
 ROOT6 object. More...
 
std::string fOption
 drawing options More...
 
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
unsigned fIndex {0}
 ! index inside current pad, used to produce fully-qualified id, not send to client More...
 
std::string fObjectID
 unique object identifier More...
 
RStylefStyle {nullptr}
 style object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem
static std::string ObjectIDFromPtr (const void *ptr)
 

#include <ROOT/RDisplayItem.hxx>

Inheritance diagram for ROOT::Experimental::RObjectDisplayItem:
[legend]

Constructor & Destructor Documentation

◆ RObjectDisplayItem()

ROOT::Experimental::RObjectDisplayItem::RObjectDisplayItem ( const TObject obj,
const std::string &  opt 
)
inline

Definition at line 95 of file RDisplayItem.hxx.

Member Data Documentation

◆ fObject

const TObject* ROOT::Experimental::RObjectDisplayItem::fObject {nullptr}
protected

ROOT6 object.

Definition at line 90 of file RDisplayItem.hxx.

◆ fOption

std::string ROOT::Experimental::RObjectDisplayItem::fOption
protected

drawing options

Definition at line 91 of file RDisplayItem.hxx.

Libraries for ROOT::Experimental::RObjectDisplayItem:
[legend]

The documentation for this class was generated from the following file: