Rcpp Version 0.12.12
CppProperty_GetPointer_SetMethod< Class, PROP > Class Template Reference

#include <Module_Property.h>

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

Public Types

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

Public Member Functions

 CppProperty_GetPointer_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_GetPointer_SetMethod< Class, PROP >

Definition at line 197 of file Module_Property.h.

Member Typedef Documentation

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

Definition at line 199 of file Module_Property.h.

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

Definition at line 201 of file Module_Property.h.

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

Definition at line 200 of file Module_Property.h.

Constructor & Destructor Documentation

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

Definition at line 203 of file Module_Property.h.

Member Function Documentation

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

Definition at line 206 of file Module_Property.h.

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

Here is the call graph for this function:

template<typename Class , typename PROP >
std::string CppProperty_GetPointer_SetMethod< Class, PROP >::get_class ( )
inline
template<typename Class , typename PROP >
bool CppProperty_GetPointer_SetMethod< Class, PROP >::is_readonly ( )
inline

Definition at line 212 of file Module_Property.h.

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

Definition at line 209 of file Module_Property.h.

References Rcpp::as().

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 218 of file Module_Property.h.

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

Definition at line 216 of file Module_Property.h.

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

Definition at line 217 of file Module_Property.h.


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