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

Method class_names

inst/include/Rcpp/module/Module.h:101–109  ·  view source on GitHub ↗

* exposed class names */

Source from the content-addressed store, hash-verified

99 * exposed class names
100 */
101 inline CharacterVector class_names(){
102 size_t n = classes.size() ;
103 CharacterVector names( n );
104 CLASS_MAP::iterator it = classes.begin() ;
105 for( size_t i=0; i<n; i++, ++it){
106 names[i] = it->first ;
107 }
108 return names ;
109 }
110
111 /**
112 * information about the classes

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected