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

#include <Module.h>

Inheritance diagram for Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >:
Collaboration diagram for Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >:

Public Types

typedef std::conditional< IsConst, RESULT_TYPE(Class::*)(T...) const, RESULT_TYPE(Class::*)(T...)>::type Method
typedef CppMethod< Class > method_class
typedef Rcpp::traits::remove_const_and_reference< RESULT_TYPE >::type CLEANED_RESULT_TYPE
Public Types inherited from Rcpp::CppMethod< Class >
typedef Rcpp::XPtr< Class > XP

Public Member Functions

 CppMethodImplN (Method m)
SEXP operator() (Class *object, SEXP *args)
int nargs ()
bool is_void ()
bool is_const ()
void signature (std::string &s, const char *name)
Public Member Functions inherited from Rcpp::CppMethod< Class >
 CppMethod ()
virtual ~CppMethod ()

Private Attributes

Method met

Detailed Description

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
class Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >

Definition at line 374 of file Module.h.

Member Typedef Documentation

◆ CLEANED_RESULT_TYPE

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
typedef Rcpp::traits::remove_const_and_reference<RESULT_TYPE>::type Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::CLEANED_RESULT_TYPE

Definition at line 379 of file Module.h.

◆ Method

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
typedef std::conditional<IsConst,RESULT_TYPE(Class::*)(T...)const,RESULT_TYPE(Class::*)(T...)>::type Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::Method

Definition at line 377 of file Module.h.

◆ method_class

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
typedef CppMethod<Class> Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::method_class

Definition at line 378 of file Module.h.

Constructor & Destructor Documentation

◆ CppMethodImplN()

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::CppMethodImplN ( Method m)
inline

Definition at line 381 of file Module.h.

Member Function Documentation

◆ is_const()

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
bool Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::is_const ( )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 391 of file Module.h.

◆ is_void()

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
bool Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::is_void ( )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 390 of file Module.h.

◆ nargs()

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
int Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::nargs ( )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 389 of file Module.h.

◆ operator()()

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
SEXP Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::operator() ( Class * object,
SEXP * args )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 382 of file Module.h.

◆ signature()

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
void Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::signature ( std::string & s,
const char * name )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 392 of file Module.h.

Member Data Documentation

◆ met

template<bool IsConst, typename Class, typename RESULT_TYPE, typename... T>
Method Rcpp::CppMethodImplN< IsConst, Class, RESULT_TYPE, T >::met
private

Definition at line 394 of file Module.h.


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