Rcpp Version 1.1.2
Loading...
Searching...
No Matches
CppProperty_GetPointer_SetPointer< Class, PROP > Class Template Reference

#include <Module_Property.h>

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

Public Types

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

Public Member Functions

 CppProperty_GetPointer_SetPointer (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_GetPointer_SetPointer< Class, PROP >

Definition at line 225 of file Module_Property.h.

Member Typedef Documentation

◆ GetMethod

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

Definition at line 227 of file Module_Property.h.

◆ prop_class

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

Definition at line 229 of file Module_Property.h.

◆ SetMethod

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

Definition at line 228 of file Module_Property.h.

Constructor & Destructor Documentation

◆ CppProperty_GetPointer_SetPointer()

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

Definition at line 231 of file Module_Property.h.

References class_name, DEMANGLE, getter, and setter.

Member Function Documentation

◆ get()

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

Definition at line 234 of file Module_Property.h.

References getter, and Rcpp::wrap().

Here is the call graph for this function:

◆ get_class()

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

Definition at line 241 of file Module_Property.h.

References class_name.

◆ is_readonly()

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

Definition at line 240 of file Module_Property.h.

◆ set()

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

Definition at line 237 of file Module_Property.h.

References Rcpp::as(), and setter.

Here is the call graph for this function:

Member Data Documentation

◆ class_name

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

Definition at line 246 of file Module_Property.h.

Referenced by CppProperty_GetPointer_SetPointer(), and get_class().

◆ getter

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

Definition at line 244 of file Module_Property.h.

Referenced by CppProperty_GetPointer_SetPointer(), and get().

◆ setter

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

Definition at line 245 of file Module_Property.h.

Referenced by CppProperty_GetPointer_SetPointer(), and set().


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