10 Foo(
double x_,
double y_) :
x(x_),
y(y_){}
13 return new Foo(
x,
y) ;
18 void bla(
const Foo& other){
26 RCPP_EXPOSED_CLASS(Foo)
31 .constructor<double,double>()
32 .method(
"clone", &Foo::clone )
37 .method(
"bla", &Foo::bla )
48 r<<
"Foo <- Mod$make_foo()";
50 r<<
"f <- Foo$clone()";
void function(const Char_t *name_, T fun, const Char_t *docstring=0)
static TRInterface & Instance()
static method to get an TRInterface instance reference
This is a class to support deprecated method to pass function to R's Environment, based in Rcpp::Inte...
#define LOAD_ROOTR_MODULE(NAME)