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

Method property_classes

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

Source from the content-addressed store, hash-verified

394 }
395
396 Rcpp::List property_classes(){
397 size_t n = properties.size() ;
398 Rcpp::CharacterVector pnames(n) ;
399 Rcpp::List out(n) ;
400 typename PROPERTY_MAP::iterator it = properties.begin( ) ;
401 for( size_t i=0; i<n; i++, ++it){
402 pnames[i] = it->first ;
403 out[i] = it->second->get_class() ;
404 }
405 out.names() = pnames ;
406 return out ;
407 }
408
409 Rcpp::CharacterVector complete(){
410 size_t n = vec_methods.size() - specials ;

Callers 1

RCPP_FUN_1Function · 0.45

Calls 4

namesMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
get_classMethod · 0.45

Tested by

no test coverage detected