MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / RCPP_MODULE

Function RCPP_MODULE

inst/skeleton/Num.cpp:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36};
37
38RCPP_MODULE(NumEx){
39 using namespace Rcpp ;
40
41 class_<Num>( "Num" )
42
43 .default_constructor()
44
45 // read and write property
46 .property( "x", &Num::getX, &Num::setX )
47
48 // read-only property
49 .property( "y", &Num::getY )
50 ;
51}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected