| 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 |