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

#include <Module_Field.h>

Inheritance diagram for CppProperty_Getter< PROP >:
Collaboration diagram for CppProperty_Getter< PROP >:

Public Types

typedef PROP Class::* pointer
typedef CppProperty< Class > prop_class

Public Member Functions

 CppProperty_Getter (pointer ptr_, const char *doc=0)
SEXP get (Class *object)
void set (Class *object, SEXP value)
bool is_readonly ()
std::string get_class ()

Private Attributes

pointer ptr
std::string class_name

Detailed Description

template<typename PROP>
class CppProperty_Getter< PROP >

Definition at line 48 of file Module_Field.h.

Member Typedef Documentation

◆ pointer

template<typename PROP>
typedef PROP Class::* CppProperty_Getter< PROP >::pointer

Definition at line 50 of file Module_Field.h.

◆ prop_class

template<typename PROP>
typedef CppProperty<Class> CppProperty_Getter< PROP >::prop_class

Definition at line 51 of file Module_Field.h.

Constructor & Destructor Documentation

◆ CppProperty_Getter()

template<typename PROP>
CppProperty_Getter< PROP >::CppProperty_Getter ( pointer ptr_,
const char * doc = 0 )
inline

Definition at line 53 of file Module_Field.h.

References class_name, DEMANGLE, and ptr.

Member Function Documentation

◆ get()

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

Definition at line 56 of file Module_Field.h.

References ptr, and Rcpp::wrap().

Here is the call graph for this function:

◆ get_class()

template<typename PROP>
std::string CppProperty_Getter< PROP >::get_class ( )
inline

Definition at line 59 of file Module_Field.h.

References class_name.

◆ is_readonly()

template<typename PROP>
bool CppProperty_Getter< PROP >::is_readonly ( )
inline

Definition at line 58 of file Module_Field.h.

◆ set()

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

Definition at line 57 of file Module_Field.h.

Member Data Documentation

◆ class_name

template<typename PROP>
std::string CppProperty_Getter< PROP >::class_name
private

Definition at line 63 of file Module_Field.h.

Referenced by CppProperty_Getter(), and get_class().

◆ ptr

template<typename PROP>
pointer CppProperty_Getter< PROP >::ptr
private

Definition at line 62 of file Module_Field.h.

Referenced by CppProperty_Getter(), and get().


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