Go to the source code of this file.
◆ RCPP_XP_FIELD
#define RCPP_XP_FIELD |
( |
|
__PREFIX__, |
|
|
|
__CLASS__, |
|
|
|
__FIELD__ |
|
) |
| |
Value:
RCPP_XP_FIELD_SET(
RCPP_PP_CAT(__PREFIX__,_set), __CLASS__, __FIELD__ )
#define RCPP_PP_CAT(a, b)
#define RCPP_XP_FIELD_GET(__NAME__, __CLASS__, __FIELD__)
Definition at line 61 of file xp.h.
◆ RCPP_XP_FIELD_GET
#define RCPP_XP_FIELD_GET |
( |
|
__NAME__, |
|
|
|
__CLASS__, |
|
|
|
__FIELD__ |
|
) |
| |
Value:extern "C" SEXP
RCPP_PP_CAT(__NAME__,__rcpp_info__)(){ \
_[
"class"] = #__CLASS__ , \
_[
"field"] = #__FIELD__ \
) ; \
info.attr( "class" ) = "rcppxpfieldgetinfo" ; \
return info ; \
} \
extern "C" SEXP __NAME__( SEXP xp ){ \
BEGIN_RCPP \
SEXP res = R_NilValue ; \
return res ; \
END_RCPP \
}
static internal::NamedPlaceHolder _
SEXP wrap(const Date &date)
Definition at line 25 of file xp.h.
◆ RCPP_XP_FIELD_SET
#define RCPP_XP_FIELD_SET |
( |
|
__NAME__, |
|
|
|
__CLASS__, |
|
|
|
__FIELD__ |
|
) |
| |
Value:extern "C" SEXP
RCPP_PP_CAT(__NAME__,__rcpp_info__)(){ \
_[
"class"] = #__CLASS__ , \
_[
"field"] = #__FIELD__ \
) ; \
info.attr( "class" ) = "rcppxpfieldsetinfo" ; \
return info ; \
} \
extern "C" SEXP __NAME__( SEXP xp, SEXP value ){ \
BEGIN_RCPP \
END_RCPP \
}
void converter(const char *from, const char *to, TO(*fun)(FROM), const char *docstring=0)
Definition at line 44 of file xp.h.