45 std::stringstream cmd;
46 cmd <<
"((" << isA->GetName() <<
" *) " << std::hex << std::showbase << (size_t)
this <<
")->" << exec <<
";";
48 gROOT->ProcessLine(cmd.str().c_str());
61 return (selector ==
fCssType) || (!
fCssClass.empty() && (selector == std::string(
".") +
fCssClass)) || (!
fId.empty() && (selector == std::string(
"#") +
fId));
71 return std::make_unique<RDrawableDisplayItem>(*
this);
#define R__LOG_DEBUG(DEBUGLEVEL,...)
Version_t GetLastVersion() const
virtual void Execute(const std::string &)
Version_t GetVersion() const
std::string fCssClass
user-defined CSS class, used for RStyle
virtual void PopulateMenu(RMenuItems &)
std::string fId
user-defined CSS id, used for RStyle
bool MatchSelector(const std::string &selector) const
Preliminary method which checks if drawable matches with given selector Following selector are allowe...
const char * fCssType
! drawable type, not stored in the root file, must be initialized in constructor
virtual std::unique_ptr< RDisplayItem > Display(const RDisplayContext &)
Creates display item for drawable By default item contains drawable data itself.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
RLogChannel & GPadLog()
Log channel for GPad diagnostics.