Rcpp Version 1.0.9
CppProperty_GetPointerMethod< Class, PROP > Class Template Reference

#include <Module_Property.h>

Inheritance diagram for CppProperty_GetPointerMethod< Class, PROP >:
Collaboration diagram for CppProperty_GetPointerMethod< Class, PROP >:

Public Types

typedef PROP(* GetMethod) (Class *)
 
typedef CppProperty< Class > prop_class
 

Public Member Functions

 CppProperty_GetPointerMethod (GetMethod getter_, const char *doc=0)
 
SEXP get (Class *object)
 
void set (Class *, SEXP)
 
bool is_readonly ()
 
std::string get_class ()
 

Private Attributes

GetMethod getter
 
std::string class_name
 

Detailed Description

template<typename Class, typename PROP>
class CppProperty_GetPointerMethod< Class, PROP >

Definition at line 70 of file Module_Property.h.

Member Typedef Documentation

◆ GetMethod

template<typename Class , typename PROP >
typedef PROP(* CppProperty_GetPointerMethod< Class, PROP >::GetMethod) (Class *)

Definition at line 72 of file Module_Property.h.

◆ prop_class

template<typename Class , typename PROP >
typedef CppProperty<Class> CppProperty_GetPointerMethod< Class, PROP >::prop_class

Definition at line 73 of file Module_Property.h.

Constructor & Destructor Documentation

◆ CppProperty_GetPointerMethod()

template<typename Class , typename PROP >
CppProperty_GetPointerMethod< Class, PROP >::CppProperty_GetPointerMethod ( GetMethod  getter_,
const char *  doc = 0 
)
inline

Definition at line 75 of file Module_Property.h.

Member Function Documentation

◆ get()

template<typename Class , typename PROP >
SEXP CppProperty_GetPointerMethod< Class, PROP >::get ( Class *  object)
inline

Definition at line 78 of file Module_Property.h.

References CppProperty_GetPointerMethod< Class, PROP >::getter, and Rcpp::wrap().

Here is the call graph for this function:

◆ get_class()

template<typename Class , typename PROP >
std::string CppProperty_GetPointerMethod< Class, PROP >::get_class ( )
inline

◆ is_readonly()

template<typename Class , typename PROP >
bool CppProperty_GetPointerMethod< Class, PROP >::is_readonly ( )
inline

Definition at line 80 of file Module_Property.h.

◆ set()

template<typename Class , typename PROP >
void CppProperty_GetPointerMethod< Class, PROP >::set ( Class *  ,
SEXP   
)
inline

Definition at line 79 of file Module_Property.h.

Member Data Documentation

◆ class_name

template<typename Class , typename PROP >
std::string CppProperty_GetPointerMethod< Class, PROP >::class_name
private

◆ getter

template<typename Class , typename PROP >
GetMethod CppProperty_GetPointerMethod< Class, PROP >::getter
private

Definition at line 84 of file Module_Property.h.

Referenced by CppProperty_GetPointerMethod< Class, PROP >::get().


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