Rcpp Version 0.9.10
CppProperty_GetMethod_SetMethod< Class, PROP > Class Template Reference

#include <Module_Property.h>

List of all members.

Public Types

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

Public Member Functions

 CppProperty_GetMethod_SetMethod (GetMethod getter_, SetMethod setter_, const char *doc=0)
SEXP get (Class *object)
void set (Class *object, SEXP value) throw (std::range_error,Rcpp::not_compatible)
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_GetMethod_SetMethod< Class, PROP >

Definition at line 91 of file Module_Property.h.


Member Typedef Documentation

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

Definition at line 93 of file Module_Property.h.

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

Definition at line 95 of file Module_Property.h.

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

Definition at line 94 of file Module_Property.h.


Constructor & Destructor Documentation

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

Definition at line 97 of file Module_Property.h.


Member Function Documentation

template<typename Class , typename PROP >
SEXP CppProperty_GetMethod_SetMethod< Class, PROP >::get ( Class *  object) [inline]

Definition at line 100 of file Module_Property.h.

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

Here is the call graph for this function:

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

Definition at line 108 of file Module_Property.h.

template<typename Class , typename PROP >
void CppProperty_GetMethod_SetMethod< Class, PROP >::set ( Class *  object,
SEXP  value 
) throw (std::range_error,Rcpp::not_compatible) [inline]

Definition at line 103 of file Module_Property.h.

References Rcpp::as(), and CppProperty_GetMethod_SetMethod< Class, PROP >::setter.

Here is the call graph for this function:


Member Data Documentation

template<typename Class , typename PROP >
std::string CppProperty_GetMethod_SetMethod< Class, PROP >::class_name [private]
template<typename Class , typename PROP >
GetMethod CppProperty_GetMethod_SetMethod< Class, PROP >::getter [private]
template<typename Class , typename PROP >
SetMethod CppProperty_GetMethod_SetMethod< Class, PROP >::setter [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines