12#ifndef ROOT_R_RExports
13#define ROOT_R_RExports
41#pragma GCC diagnostic push
42#pragma GCC diagnostic ignored "-Wunknown-pragmas"
43#pragma GCC diagnostic ignored "-Wshadow"
44#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
45#pragma GCC diagnostic ignored "-Wunused-parameter"
46#pragma GCC diagnostic ignored "-Woverloaded-virtual"
47#pragma GCC diagnostic ignored "-Wextra"
48#pragma GCC diagnostic ignored "-Wignored-qualifiers"
51#pragma GCC diagnostic ignored "-Wnonportable-include-path"
53#if !defined(R_Version)
54#define R_Version(v,p,s) ((v * 65536) + (p * 256) + (s))
88 return TString(::Rcpp::as<std::string>(s).c_str());
116 template<
class T,
size_t i> std::array<T, i>
as(SEXP &obj)
118 std::vector<T>
v = Rcpp::as<std::vector<T> >(obj);
120 std::copy(
v.begin(),
v.end(),
a.begin());
125 template <
typename T,
size_t i>
126 class Exporter<std::array<T, i> > {
130 t = Rcpp::as<T, i>(
x);
132 std::array<T, i> get()
153#pragma GCC diagnostic pop
160 template<
class T>
class class_:
public Rcpp::class_<T> {
170 Rcpp::function(name_, fun, docstring);
173 extern const Rcpp::internal::NamedPlaceHolder &
Label;
179#define ROOTR_MODULE RCPP_MODULE
180#define ROOTR_EXPOSED_CLASS RCPP_EXPOSED_CLASS
183#define ROOTR_EXPOSED_CLASS_INTERNAL(CLASS)\
188 RCPP_EXPOSED_CLASS_NODECL(ROOT::R::CLASS)
193#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
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)