Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T > Class Template Reference

#include <Module.h>

Inheritance diagram for Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T >:
Collaboration diagram for Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T >:

Public Member Functions

 CppFunction_WithFormalsN (RESULT_TYPE(*fun)(T...), Rcpp::List formals_, const char *docstring=0)
SEXP get_formals ()
Public Member Functions inherited from Rcpp::CppFunctionN< RESULT_TYPE, T... >
 CppFunctionN (RESULT_TYPE(*fun)(T...), const char *docstring=0)
SEXP operator() (SEXP *args)
int nargs ()
bool is_void ()
void signature (std::string &s, const char *name)
DL_FUNC get_function_ptr ()
Public Member Functions inherited from Rcpp::CppFunction
 CppFunction (const char *doc=0)
virtual ~CppFunction ()
Public Member Functions inherited from Rcpp::CppFunctionBase
 CppFunctionBase ()
virtual ~CppFunctionBase ()

Private Attributes

Rcpp::List formals

Additional Inherited Members

Public Attributes inherited from Rcpp::CppFunction
std::string docstring

Detailed Description

template<typename RESULT_TYPE, typename... T>
class Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T >

Definition at line 123 of file Module.h.

Constructor & Destructor Documentation

◆ CppFunction_WithFormalsN()

template<typename RESULT_TYPE, typename... T>
Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T >::CppFunction_WithFormalsN ( RESULT_TYPE(* fun )(T...),
Rcpp::List formals_,
const char * docstring = 0 )
inline

Definition at line 125 of file Module.h.

References Rcpp::CppFunctionN< RESULT_TYPE, T... >::CppFunctionN(), Rcpp::CppFunction::docstring, and formals.

Here is the call graph for this function:

Member Function Documentation

◆ get_formals()

template<typename RESULT_TYPE, typename... T>
SEXP Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T >::get_formals ( )
inlinevirtual

formal arguments

Reimplemented from Rcpp::CppFunction.

Definition at line 128 of file Module.h.

References formals.

Member Data Documentation

◆ formals

template<typename RESULT_TYPE, typename... T>
Rcpp::List Rcpp::CppFunction_WithFormalsN< RESULT_TYPE, T >::formals
private

Definition at line 131 of file Module.h.

Referenced by CppFunction_WithFormalsN(), and get_formals().


The documentation for this class was generated from the following file: