20#ifndef Rcpp_api_meat_Module_h
21#define Rcpp_api_meat_Module_h
29 CLASS_MAP::iterator it =
classes.begin() ;
31 for(
size_t i=0; i<n; i++, ++it){
32 names[i] = it->first ;
33 info[i] =
CppClass(
this , it->second, buffer ) ;
35 info.
names() = names ;
41 CLASS_MAP::iterator it =
classes.find(cl) ;
42 if( it ==
classes.end() )
throw std::range_error(
"no such class" ) ;
44 return CppClass(
this, it->second, buffer ) ;
CppClass get_class(const std::string &cl)
Vector< STRSXP > CharacterVector