Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::CppInheritedMethod< Class, Parent > Class Template Reference

#include <Module.h>

Inheritance diagram for Rcpp::CppInheritedMethod< Class, Parent >:
Collaboration diagram for Rcpp::CppInheritedMethod< Class, Parent >:

Public Types

typedef Rcpp::XPtr< Class > XP
typedef CppMethod< Parent > ParentMethod
Public Types inherited from Rcpp::CppMethod< Class >
typedef Rcpp::XPtr< Class > XP

Public Member Functions

 CppInheritedMethod (ParentMethod *parent_method_pointer_)
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

ParentMethodparent_method_pointer

Detailed Description

template<typename Class, typename Parent>
class Rcpp::CppInheritedMethod< Class, Parent >

Definition at line 155 of file Module.h.

Member Typedef Documentation

◆ ParentMethod

template<typename Class, typename Parent>
typedef CppMethod<Parent> Rcpp::CppInheritedMethod< Class, Parent >::ParentMethod

Definition at line 158 of file Module.h.

◆ XP

template<typename Class, typename Parent>
typedef Rcpp::XPtr<Class> Rcpp::CppInheritedMethod< Class, Parent >::XP

Definition at line 157 of file Module.h.

Constructor & Destructor Documentation

◆ CppInheritedMethod()

template<typename Class, typename Parent>
Rcpp::CppInheritedMethod< Class, Parent >::CppInheritedMethod ( ParentMethod * parent_method_pointer_)
inline

Member Function Documentation

◆ is_const()

template<typename Class, typename Parent>
bool Rcpp::CppInheritedMethod< Class, Parent >::is_const ( )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 169 of file Module.h.

References parent_method_pointer.

◆ is_void()

template<typename Class, typename Parent>
bool Rcpp::CppInheritedMethod< Class, Parent >::is_void ( )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 168 of file Module.h.

References parent_method_pointer.

◆ nargs()

template<typename Class, typename Parent>
int Rcpp::CppInheritedMethod< Class, Parent >::nargs ( )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 167 of file Module.h.

◆ operator()()

template<typename Class, typename Parent>
SEXP Rcpp::CppInheritedMethod< Class, Parent >::operator() ( Class * object,
SEXP * args )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 164 of file Module.h.

◆ signature()

template<typename Class, typename Parent>
void Rcpp::CppInheritedMethod< Class, Parent >::signature ( std::string & s,
const char * name )
inlinevirtual

Reimplemented from Rcpp::CppMethod< Class >.

Definition at line 170 of file Module.h.

References parent_method_pointer.

Member Data Documentation

◆ parent_method_pointer

template<typename Class, typename Parent>
ParentMethod* Rcpp::CppInheritedMethod< Class, Parent >::parent_method_pointer
private

Definition at line 173 of file Module.h.

Referenced by is_const(), is_void(), and signature().


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