Go to the source code of this file.
◆ RCPP_ENUM_TRAITS
#define RCPP_ENUM_TRAITS |
( |
|
__ENUM__ | ) |
RCPP_TRAITS(__ENUM__,INTSXP) |
◆ RCPP_TRAITS
#define RCPP_TRAITS |
( |
|
__CLASS__, |
|
|
|
__SEXPTYPE__ |
|
) |
| |
Value:namespace Rcpp{
namespace traits { \
template<> struct r_type_traits< __CLASS__ >{ \
} ; \
template<>
struct r_type_traits<
std::pair< std::string , __CLASS__ > >{ \
typedef r_type_pairstring_primitive_tag
r_category ; \
} ; \
template<> struct wrap_type_traits< __CLASS__ >{ \
} ; \
template<> struct r_sexptype_traits< __CLASS__ >{ \
enum{
rtype = __SEXPTYPE__ } ; \
} ; \
} }
r_type_generic_tag r_category
wrap_type_unknown_tag wrap_category
Definition at line 25 of file traits.h.