CppFunction-class: Class "C++Function"

Description Objects from the Class Slots Extends Methods Examples

Description

Internal C++ function

Objects from the Class

Objects can be created by the Rcpp::InternalFunction class from the Rcpp library

Slots

.Data:

R function that calls back to the internal function

pointer:

External pointer to a C++ object poiting to the function

docstring:

Short documentation for the function

signature:

C++ signature

Extends

Class "function", from data part. Class "OptionalFunction", by class "function", distance 2. Class "PossibleMethod", by class "function", distance 2.

Methods

show

signature(object = "C++Function"): print the object

Examples

1
showClass("C++Function")

Example output

Class "C++Function" [package "Rcpp"]

Slots:
                                                      
Name:        .Data     pointer   docstring   signature
Class:    function externalptr   character   character

Extends: 
Class "function", from data part
Class "OptionalFunction", by class "function", distance 2
Class "PossibleMethod", by class "function", distance 2

Rcpp documentation built on Jan. 15, 2021, 2:52 p.m.