Rcpp Version 1.0.9
|
#include <CppFunction.h>
Public Member Functions | |
CppFunction (const char *doc=0) | |
virtual | ~CppFunction () |
virtual int | nargs () |
virtual bool | is_void () |
virtual void | signature (std::string &, const char *) |
virtual SEXP | get_formals () |
virtual DL_FUNC | get_function_ptr ()=0 |
Public Member Functions inherited from Rcpp::CppFunctionBase | |
CppFunctionBase () | |
virtual | ~CppFunctionBase () |
virtual SEXP | operator() (SEXP *) |
Public Attributes | |
std::string | docstring |
base class of all exported C++ functions. Template deduction in the Module_generated_function.h file creates an instance of a class that derives CppFunction (see Module_generated_CppFunction.h for all the definitions
Definition at line 52 of file CppFunction.h.
|
inline |
Definition at line 54 of file CppFunction.h.
|
inlinevirtual |
Definition at line 55 of file CppFunction.h.
|
inlinevirtual |
formal arguments
Definition at line 75 of file CppFunction.h.
Referenced by Rcpp::Module::get_function().
|
pure virtual |
The actual function pointer, as a catch all function pointer (see Rdynload.h for definition of DL_FUNC)
Referenced by Rcpp::Module::Add(), and Rcpp::Module::get_function_ptr().
|
inlinevirtual |
voidness
Definition at line 65 of file CppFunction.h.
Referenced by Rcpp::Module::get_function(), and Rcpp::Module::invoke().
|
inlinevirtual |
The number of arguments of the function
Definition at line 60 of file CppFunction.h.
Referenced by Rcpp::Module::get_function(), and Rcpp::Module::invoke().
|
inlinevirtual |
Human readable function signature (demangled if possible)
Definition at line 70 of file CppFunction.h.
Referenced by Rcpp::Module::get_function().
std::string Rcpp::CppFunction::docstring |
description of the function
Definition at line 86 of file CppFunction.h.
Referenced by Rcpp::Module::get_function().