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

#include <Module.h>

Inheritance diagram for Rcpp::Constructor< Class, T >:
Collaboration diagram for Rcpp::Constructor< Class, T >:

Public Member Functions

virtual Class * get_new (SEXP *args, int nargs)
virtual int nargs ()
virtual void signature (std::string &s, const std::string &class_name)

Private Member Functions

template<int... Is>
Class * get_new_impl (SEXP *args, int nargs, traits::index_sequence< Is... >)

Detailed Description

template<typename Class, typename... T>
class Rcpp::Constructor< Class, T >

Definition at line 196 of file Module.h.

Member Function Documentation

◆ get_new()

template<typename Class, typename... T>
virtual Class * Rcpp::Constructor< Class, T >::get_new ( SEXP * args,
int nargs )
inlinevirtual

Implements Rcpp::Constructor_Base< Class >.

Definition at line 198 of file Module.h.

References get_new_impl(), and nargs().

Here is the call graph for this function:

◆ get_new_impl()

template<typename Class, typename... T>
template<int... Is>
Class * Rcpp::Constructor< Class, T >::get_new_impl ( SEXP * args,
int nargs,
traits::index_sequence< Is... >  )
inlineprivate

Definition at line 208 of file Module.h.

References Rcpp::as(), and nargs().

Referenced by get_new().

Here is the call graph for this function:

◆ nargs()

template<typename Class, typename... T>
virtual int Rcpp::Constructor< Class, T >::nargs ( )
inlinevirtual

Implements Rcpp::Constructor_Base< Class >.

Definition at line 201 of file Module.h.

Referenced by get_new(), and get_new_impl().

◆ signature()

template<typename Class, typename... T>
virtual void Rcpp::Constructor< Class, T >::signature ( std::string & s,
const std::string & class_name )
inlinevirtual

Implements Rcpp::Constructor_Base< Class >.

Definition at line 202 of file Module.h.


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