11#ifndef ROOT_R_TRObject
12#define ROOT_R_TRObject
71 friend SEXP Rcpp::wrap<TRObject>(
const TRObject &
f);
152 template<
class T> T
As()
158 Error(
"Cast Operator",
"Can not make the requested data, returning an unknown value");
165 return ::Rcpp::as<T>(obj);
173 operator SEXP()
const
178 operator Rcpp::RObject()
183 template <
class T>
operator T()
190 Error(
"Cast Operator",
"Can not make the requested data, returning an unknown value");
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
This is a class to get ROOT's objects from R's objects.
T As()
Some datatypes of ROOT or c++ can be wrapped in to a TRObject, this method lets you unwrap those data...
void SetAttribute(const TString name, T obj)
The R objects can to have associate attributes with this method you can added attribute to TRObject g...
Bool_t GetStatus()
TRObject is a current valid object?
void SetStatus(Bool_t status)
TRObject is a current valid object?
T operator=(TRObject &obj)
TRObject()
Default constructor.
TRObject & Wrap(T obj)
Some datatypes of ROOT or c++ can be wrapped in to a TRObject, this method lets you wrap those dataty...
TRObject GetAttribute(const TString name)
The R objects can to have associate attributes with this method you can added attribute to TRObject g...
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
SEXP wrap(const TString &s)