12#ifndef ROOT_R_RExports
13#define ROOT_R_RExports
40#pragma GCC diagnostic ignored "-Wunknown-pragmas"
41#pragma GCC diagnostic ignored "-Wshadow"
42#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
43#pragma GCC diagnostic ignored "-Wunused-parameter"
44#pragma GCC diagnostic ignored "-Woverloaded-virtual"
45#pragma GCC diagnostic ignored "-Wextra"
46#pragma GCC diagnostic ignored "-Wignored-qualifiers"
69 return wrap(std::string(
s.Data()));
73 return TString(::Rcpp::as<std::string>(
s).c_str());
101 template<
class T,
size_t i> std::array<T, i>
as(SEXP &obj)
103 std::vector<T>
v = Rcpp::as<std::vector<T> >(obj);
105 std::copy(
v.begin(),
v.end(),
a.begin());
110 template <
typename T,
size_t i>
111 class Exporter<std::array<T, i> > {
115 t = Rcpp::as<T, i>(
x);
117 std::array<T, i> get()
127#if !defined(R_Version)
128#define R_Version(v,p,s) ((v * 65536) + (p * 256) + (s))
131#include<Rcpp/Named.h>
144 template<
class T>
class class_:
public Rcpp::class_<T> {
157 extern const Rcpp::internal::NamedPlaceHolder &
Label;
163#define ROOTR_MODULE RCPP_MODULE
164#define ROOTR_EXPOSED_CLASS RCPP_EXPOSED_CLASS
167#define ROOTR_EXPOSED_CLASS_INTERNAL(CLASS)\
172 RCPP_EXPOSED_CLASS_NODECL(ROOT::R::CLASS)
177#define LOAD_ROOTR_MODULE(NAME) Rf_eval( Rf_lang2( ( ROOT::R::ModuleSymRef == NULL ? ROOT::R::ModuleSymRef = Rf_install("Module") : ROOT::R::ModuleSymRef ), _rcpp_module_boot_##NAME() ), R_GlobalEnv )
std::vector< TString > TVectorString
This is a class to create DataFrames from ROOT to R.
This is a class to pass functions from ROOT to R.
This is a class to pass functions from ROOT to R.
This is a class to get ROOT's objects from R's objects.
class_(const Char_t *name_, const Char_t *doc=0)
const Rcpp::internal::NamedPlaceHolder & Label
VARIABLE_IS_NOT_USED SEXP ModuleSymRef
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
This is a class to support deprecated method to pass function to R's Environment, based in Rcpp::Inte...
SEXP wrap(const TString &s)
static constexpr double s