Rcpp Version 1.0.9
CppProperty_Getter_Setter< PROP > Class Template Reference

#include <Module_Field.h>

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

Public Types

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

Public Member Functions

 CppProperty_Getter_Setter (pointer ptr_, const char *doc)
 
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_Setter< PROP >

Definition at line 27 of file Module_Field.h.

Member Typedef Documentation

◆ pointer

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

Definition at line 29 of file Module_Field.h.

◆ prop_class

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

Definition at line 30 of file Module_Field.h.

Constructor & Destructor Documentation

◆ CppProperty_Getter_Setter()

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

Definition at line 32 of file Module_Field.h.

Member Function Documentation

◆ get()

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

Definition at line 35 of file Module_Field.h.

References CppProperty_Getter_Setter< PROP >::ptr, and Rcpp::wrap().

Here is the call graph for this function:

◆ get_class()

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

Definition at line 38 of file Module_Field.h.

References CppProperty_Getter_Setter< PROP >::class_name.

◆ is_readonly()

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

Definition at line 37 of file Module_Field.h.

◆ set()

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

Definition at line 36 of file Module_Field.h.

References CppProperty_Getter_Setter< PROP >::ptr.

Member Data Documentation

◆ class_name

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

Definition at line 42 of file Module_Field.h.

Referenced by CppProperty_Getter_Setter< PROP >::get_class().

◆ ptr

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

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