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

Method get_class

inst/include/Rcpp/api/meat/module/Module.h:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 inline CppClass Module::get_class( const std::string& cl ){
40 BEGIN_RCPP
41 CLASS_MAP::iterator it = classes.find(cl) ;
42 if( it == classes.end() ) throw std::range_error( "no such class" ) ;
43 std::string buffer ;
44 return CppClass( this, it->second, buffer ) ;
45 END_RCPP
46 }
47
48}
49

Callers

nothing calls this directly

Calls 2

CppClassFunction · 0.50
endMethod · 0.45

Tested by

no test coverage detected