12#ifndef ROOT_R_RExports
13#define ROOT_R_RExports
38#pragma GCC diagnostic ignored "-Wunknown-pragmas"
39#pragma GCC diagnostic ignored "-Wshadow"
40#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
41#pragma GCC diagnostic ignored "-Wunused-parameter"
42#pragma GCC diagnostic ignored "-Woverloaded-virtual"
43#pragma GCC diagnostic ignored "-Wextra"
44#pragma GCC diagnostic ignored "-Wignored-qualifiers"
70 return TString(::Rcpp::as<std::string>(s).c_str());
98 template<
class T,
size_t i> std::array<T, i>
as(SEXP &obj)
100 std::vector<T>
v = Rcpp::as<std::vector<T> >(obj);
102 std::copy(
v.begin(),
v.end(),
a.begin());
107 template <
typename T,
size_t i>
108 class Exporter<std::array<T, i> > {
112 t = Rcpp::as<T, i>(
x);
114 std::array<T, i> get()
125#if !defined(R_Version)
126#define R_Version(v,p,s) ((v * 65536) + (p * 256) + (s))
130#include<Rcpp/Named.h>
143 template<
class T>
class class_:
public Rcpp::class_<T> {
153 Rcpp::function(name_, fun, docstring);
156 extern const Rcpp::internal::NamedPlaceHolder &
Label;
162#define ROOTR_MODULE RCPP_MODULE
163#define ROOTR_EXPOSED_CLASS RCPP_EXPOSED_CLASS
166#define ROOTR_EXPOSED_CLASS_INTERNAL(CLASS)\
171 RCPP_EXPOSED_CLASS_NODECL(ROOT::R::CLASS)
176#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 char * Data() const
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)