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

Function S4_CppConstructor

inst/include/Rcpp/Module.h:319–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 typedef Reference::Storage Storage ;
318
319 S4_CppConstructor( SignedConstructor<Class>* m, const XP_Class& class_xp, const std::string& class_name, std::string& buffer ) : Reference( "C++Constructor" ){
320 RCPP_DEBUG( "S4_CppConstructor( SignedConstructor<Class>* m, SEXP class_xp, const std::string& class_name, std::string& buffer" ) ;
321 field( "pointer" ) = Rcpp::XPtr< SignedConstructor<Class> >( m, false ) ;
322 field( "class_pointer" ) = class_xp ;
323 field( "nargs" ) = m->nargs() ;
324 m->signature( buffer, class_name ) ;
325 field( "signature" ) = buffer ;
326 field( "docstring" ) = m->docstring ;
327 }
328
329 RCPP_CTOR_ASSIGN_WITH_BASE(S4_CppConstructor)
330

Callers

nothing calls this directly

Calls 2

nargsMethod · 0.45
signatureMethod · 0.45

Tested by

no test coverage detected