22 #ifndef Rcpp_Module_Property_h
23 #define Rcpp_Module_Property_h
26 template <
typename Class,
typename PROP>
36 void set(Class*, SEXP) {
throw std::range_error(
"property is read only"); }
47 template <
typename Class,
typename PROP>
57 void set(Class*, SEXP) {
throw std::range_error(
"property is read only"); }
69 template <
typename Class,
typename PROP>
79 void set(Class*, SEXP) {
throw std::range_error(
"property is read only"); }
90 template <
typename Class,
typename PROP>
103 void set(Class*
object, SEXP value) {
114 template <
typename Class,
typename PROP>
127 void set(Class*
object, SEXP value) {
144 template <
typename Class,
typename PROP>
157 void set(Class*
object, SEXP value) {
169 template <
typename Class,
typename PROP>
182 void set(Class*
object, SEXP value) {
196 template <
typename Class,
typename PROP>
209 void set(Class*
object, SEXP value) {
224 template <
typename Class,
typename PROP>
237 void set(Class*
object, SEXP value) {
void(Class::* SetMethod)(PROP)
PROP(Class::* GetMethod)(void) const
CppProperty_GetConstMethod_SetMethod(GetMethod getter_, SetMethod setter_, const char *doc=0)
CppProperty< Class > prop_class
void set(Class *object, SEXP value)
CppProperty_GetConstMethod_SetPointer(GetMethod getter_, SetMethod setter_, const char *doc=0)
CppProperty< Class > prop_class
PROP(Class::* GetMethod)(void) const
void(* SetMethod)(Class *, PROP)
void set(Class *object, SEXP value)
PROP(Class::* GetMethod)(void) const
CppProperty< Class > prop_class
CppProperty_GetConstMethod(GetMethod getter_, const char *doc=0)
CppProperty< Class > prop_class
void(Class::* SetMethod)(PROP)
PROP(Class::* GetMethod)(void)
CppProperty_GetMethod_SetMethod(GetMethod getter_, SetMethod setter_, const char *doc=0)
void set(Class *object, SEXP value)
CppProperty< Class > prop_class
CppProperty_GetMethod_SetPointer(GetMethod getter_, SetMethod setter_, const char *doc=0)
void(* SetMethod)(Class *, PROP)
PROP(Class::* GetMethod)(void)
void set(Class *object, SEXP value)
CppProperty_GetMethod(GetMethod getter_, const char *doc=0)
CppProperty< Class > prop_class
PROP(Class::* GetMethod)(void)
PROP(* GetMethod)(Class *)
CppProperty_GetPointerMethod(GetMethod getter_, const char *doc=0)
CppProperty< Class > prop_class
PROP(* GetMethod)(Class *)
void(Class::* SetMethod)(PROP)
void set(Class *object, SEXP value)
CppProperty_GetPointer_SetMethod(GetMethod getter_, SetMethod setter_, const char *doc=0)
CppProperty< Class > prop_class
void set(Class *object, SEXP value)
void(* SetMethod)(Class *, PROP)
CppProperty< Class > prop_class
CppProperty_GetPointer_SetPointer(GetMethod getter_, SetMethod setter_, const char *doc=0)
PROP(* GetMethod)(Class *)
#define DEMANGLE(__TYPE__)
SEXP wrap(const Date &date)
remove_const< typename remove_reference< T >::type >::type type