Rcpp Version 1.0.9
Rcpp::CppFunctionBase Class Reference

#include <CppFunction.h>

Inheritance diagram for Rcpp::CppFunctionBase:

Public Member Functions

 CppFunctionBase ()
 
virtual ~CppFunctionBase ()
 
virtual SEXP operator() (SEXP *)
 

Detailed Description

base class for a callable function. This limited functionality is just barely enough for an InternalFunction, nothing more.

Definition at line 31 of file CppFunction.h.

Constructor & Destructor Documentation

◆ CppFunctionBase()

Rcpp::CppFunctionBase::CppFunctionBase ( )
inline

Definition at line 33 of file CppFunction.h.

◆ ~CppFunctionBase()

virtual Rcpp::CppFunctionBase::~CppFunctionBase ( )
inlinevirtual

Definition at line 34 of file CppFunction.h.

Member Function Documentation

◆ operator()()

virtual SEXP Rcpp::CppFunctionBase::operator() ( SEXP *  )
inlinevirtual

modules call the function with this interface. input: an array of SEXP output: a SEXP.

Reimplemented in Rcpp::InternalFunctionWithStdFunction::CppFunctionBaseFromStdFunction< void, Args... >, and Rcpp::InternalFunctionWithStdFunction::CppFunctionBaseFromStdFunction< RESULT_TYPE, Args >.

Definition at line 40 of file CppFunction.h.


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