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

Method getConstructors

inst/include/Rcpp/module/class.h:482–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480 }
481
482 Rcpp::List getConstructors( const XP_Class& class_xp, std::string& buffer){
483 size_t n = constructors.size() ;
484 Rcpp::List out(n) ;
485 typename vec_signed_constructor::iterator it = constructors.begin( ) ;
486 for( size_t i=0; i<n; i++, ++it){
487 out[i] = S4_CppConstructor<Class>( *it , class_xp, name, buffer ) ;
488 }
489 return out ;
490 }
491
492#include <Rcpp/module/Module_Field.h>
493

Callers 1

CppClassFunction · 0.45

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected