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()
155 T data =::Rcpp::as<T>(
fObj);
158 Error(
"Cast Operator",
"Can not make the requested data, returning an unknow value");
165 return ::Rcpp::as<T>(obj);
173 operator SEXP()
const
178 operator Rcpp::RObject()
183 template <
class T>
operator T()
187 T data =::Rcpp::as<T>(
fObj);
190 Error(
"Cast Operator",
"Can not make the requested data, returning an unknow value");
#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.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
SEXP wrap(const TString &s)