Go to the documentation of this file.
18 #ifndef Rcpp_proxy_RObjectMethods_h
19 #define Rcpp_proxy_RObjectMethods_h
23 template <
typename Class>
28 return Rf_isNull(
static_cast<const Class&
>(*
this) ) ;
32 return TYPEOF(
static_cast<const Class&
>(*
this) ) ;
36 return Rf_isObject(
static_cast<const Class&
>(*
this) ) ;
40 return Rf_isS4(
static_cast<const Class&
>(*
this) ) ;