Go to the source code of this file.
◆ RCPP_EXPOSED_AS
#define RCPP_EXPOSED_AS |
( |
|
CLASS | ) |
|
This macros should be used by packages using modules when a type is used as a parameter of a function or method exposed by modules. This defines the necessary trait that makes the class as<>'able
Definition at line 29 of file module.h.
◆ RCPP_EXPOSED_CLASS
#define RCPP_EXPOSED_CLASS |
( |
|
CLASS | ) |
|
Value: class CLASS; \
RCPP_EXPOSED_CLASS_NODECL(CLASS)
Definition at line 69 of file module.h.
◆ RCPP_EXPOSED_CLASS_NODECL
#define RCPP_EXPOSED_CLASS_NODECL |
( |
|
CLASS | ) |
|
Value:
RCPP_EXPOSED_WRAP(CLASS)
#define RCPP_EXPOSED_AS(CLASS)
Definition at line 65 of file module.h.
◆ RCPP_EXPOSED_ENUM
#define RCPP_EXPOSED_ENUM |
( |
|
CLASS | ) |
|
Value: class CLASS; \
RCPP_EXPOSED_ENUM_NODECL(CLASS)
Definition at line 83 of file module.h.
◆ RCPP_EXPOSED_ENUM_AS
#define RCPP_EXPOSED_ENUM_AS |
( |
|
CLASS | ) |
namespace Rcpp{ namespace traits{ template<> struct r_type_traits< CLASS >{ typedef r_type_enum_tag r_category ; } ; }} |
handling enums: TODO use is_enum from C++11 or boost to have those automatic
Definition at line 76 of file module.h.
◆ RCPP_EXPOSED_ENUM_NODECL
#define RCPP_EXPOSED_ENUM_NODECL |
( |
|
CLASS | ) |
|
Value:
RCPP_EXPOSED_ENUM_WRAP(CLASS)
#define RCPP_EXPOSED_ENUM_AS(CLASS)
Definition at line 79 of file module.h.
◆ RCPP_EXPOSED_ENUM_WRAP
#define RCPP_EXPOSED_ENUM_WRAP |
( |
|
CLASS | ) |
namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_enum_tag wrap_category ; } ; }} |
◆ RCPP_EXPOSED_WRAP
#define RCPP_EXPOSED_WRAP |
( |
|
CLASS | ) |
namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_module_object_tag wrap_category ; } ; }} |