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

#include <Module_Property.h>

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

Public Types

typedef PROP(Class::* GetMethod) (void) const
 
typedef void(Class::* SetMethod) (PROP)
 
typedef CppProperty< Class > prop_class
 

Public Member Functions

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

Private Attributes

GetMethod getter
 
SetMethod setter
 
std::string class_name
 

Detailed Description

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

Definition at line 115 of file Module_Property.h.

Member Typedef Documentation

◆ GetMethod

template<typename Class , typename PROP >
typedef PROP(Class::* CppProperty_GetConstMethod_SetMethod< Class, PROP >::GetMethod) (void) const

Definition at line 117 of file Module_Property.h.

◆ prop_class

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

Definition at line 119 of file Module_Property.h.

◆ SetMethod

template<typename Class , typename PROP >
typedef void(Class::* CppProperty_GetConstMethod_SetMethod< Class, PROP >::SetMethod) (PROP)

Definition at line 118 of file Module_Property.h.

Constructor & Destructor Documentation

◆ CppProperty_GetConstMethod_SetMethod()

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

Definition at line 121 of file Module_Property.h.

Member Function Documentation

◆ get()

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

Definition at line 124 of file Module_Property.h.

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

Here is the call graph for this function:

◆ get_class()

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

◆ is_readonly()

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

Definition at line 130 of file Module_Property.h.

◆ set()

template<typename Class , typename PROP >
void CppProperty_GetConstMethod_SetMethod< Class, PROP >::set ( Class *  object,
SEXP  value 
)
inline

Definition at line 127 of file Module_Property.h.

References Rcpp::as(), and CppProperty_GetConstMethod_SetMethod< Class, PROP >::setter.

Here is the call graph for this function:

Member Data Documentation

◆ class_name

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

◆ getter

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

◆ setter

template<typename Class , typename PROP >
SetMethod CppProperty_GetConstMethod_SetMethod< Class, PROP >::setter
private

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