Rcpp Version 0.12.12
module.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RCPP_EXPOSED_AS(CLASS)
 
#define RCPP_EXPOSED_WRAP(CLASS)   namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_module_object_tag wrap_category ; } ; }}
 
#define RCPP_EXPOSED_CLASS_NODECL(CLASS)
 
#define RCPP_EXPOSED_CLASS(CLASS)
 
#define RCPP_EXPOSED_ENUM_AS(CLASS)   namespace Rcpp{ namespace traits{ template<> struct r_type_traits< CLASS >{ typedef r_type_enum_tag r_category ; } ; }}
 
#define RCPP_EXPOSED_ENUM_WRAP(CLASS)   namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_enum_tag wrap_category ; } ; }}
 
#define RCPP_EXPOSED_ENUM_NODECL(CLASS)
 
#define RCPP_EXPOSED_ENUM(CLASS)
 

Macro Definition Documentation

#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.

#define RCPP_EXPOSED_CLASS (   CLASS)
Value:
class CLASS; \
#define RCPP_EXPOSED_CLASS_NODECL(CLASS)
Definition: module.h:65

Definition at line 69 of file module.h.

#define RCPP_EXPOSED_CLASS_NODECL (   CLASS)
Value:
#define RCPP_EXPOSED_WRAP(CLASS)
Definition: module.h:63
#define RCPP_EXPOSED_AS(CLASS)
Definition: module.h:29

Definition at line 65 of file module.h.

#define RCPP_EXPOSED_ENUM (   CLASS)
Value:
class CLASS; \
#define RCPP_EXPOSED_ENUM_NODECL(CLASS)
Definition: module.h:79

Definition at line 83 of file module.h.

#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.

#define RCPP_EXPOSED_ENUM_NODECL (   CLASS)
Value:
#define RCPP_EXPOSED_ENUM_WRAP(CLASS)
Definition: module.h:77
#define RCPP_EXPOSED_ENUM_AS(CLASS)
Definition: module.h:76

Definition at line 79 of file module.h.

#define RCPP_EXPOSED_ENUM_WRAP (   CLASS)    namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_enum_tag wrap_category ; } ; }}

Definition at line 77 of file module.h.

#define RCPP_EXPOSED_WRAP (   CLASS)    namespace Rcpp{ namespace traits{ template<> struct wrap_type_traits< CLASS >{typedef wrap_type_module_object_tag wrap_category ; } ; }}

Definition at line 63 of file module.h.