11#ifndef ROOT_R_TRObject
12#define ROOT_R_TRObject
72 friend SEXP Rcpp::wrap<TRObject>(
const TRObject &
f);
159 Error(
"Cast Operator",
"Can not make the requested data, returning an unknow value");
166 return ::Rcpp::as<T>(obj);
174 operator SEXP()
const
179 operator Rcpp::RObject()
184 template <
class T>
operator T()
191 Error(
"Cast Operator",
"Can not make the requested data, returning an unknow value");
#define R(a, b, c, d, e, f, g, h, i)
#define ClassDef(name, id)
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.
Namespace for new ROOT classes and functions.
SEXP wrap(const TString &s)