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

#include <Module.h>

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

Public Types

typedef PROP(* GetMethod) (Class *)
typedef void(Class::* SetMethod) (PROP)
typedef CppProperty< Class > prop_class
Public Types inherited from Rcpp::CppProperty< Class >
typedef Rcpp::XPtr< Class > XP

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 ()
Public Member Functions inherited from Rcpp::CppProperty< Class >
 CppProperty (const char *doc=0)
virtual ~CppProperty ()

Private Attributes

GetMethod getter
SetMethod setter
std::string class_name

Additional Inherited Members

Public Attributes inherited from Rcpp::CppProperty< Class >
std::string docstring

Detailed Description

template<typename Class, typename PROP>
class Rcpp::CppProperty_GetPointer_SetMethod< Class, PROP >

Definition at line 198 of file Module.h.

Member Typedef Documentation

◆ GetMethod

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

Definition at line 200 of file Module.h.

◆ prop_class

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

Definition at line 202 of file Module.h.

◆ SetMethod

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

Definition at line 201 of file Module.h.

Constructor & Destructor Documentation

◆ CppProperty_GetPointer_SetMethod()

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

Definition at line 204 of file Module.h.

Member Function Documentation

◆ get()

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

Reimplemented from Rcpp::CppProperty< Class >.

Definition at line 207 of file Module.h.

◆ get_class()

template<typename Class, typename PROP>
std::string Rcpp::CppProperty_GetPointer_SetMethod< Class, PROP >::get_class ( )
inlinevirtual

Reimplemented from Rcpp::CppProperty< Class >.

Definition at line 214 of file Module.h.

◆ is_readonly()

template<typename Class, typename PROP>
bool Rcpp::CppProperty_GetPointer_SetMethod< Class, PROP >::is_readonly ( )
inlinevirtual

Reimplemented from Rcpp::CppProperty< Class >.

Definition at line 213 of file Module.h.

◆ set()

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

Reimplemented from Rcpp::CppProperty< Class >.

Definition at line 210 of file Module.h.

Member Data Documentation

◆ class_name

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

Definition at line 219 of file Module.h.

◆ getter

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

Definition at line 217 of file Module.h.

◆ setter

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

Definition at line 218 of file Module.h.


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