Go to the documentation of this file.
22 #ifndef Rcpp_RObject_h
23 #define Rcpp_RObject_h
28 #include <Rinternals.h>
73 inline operator SEXP()
const {
return m_sexp ; }
78 inline bool inherits(
const char* clazz)
const { return ::Rf_inherits(
m_sexp, clazz) ; }
132 template <
typename T>
operator T()
const ;
134 inline operator SEXP()
const {
return get() ; }
141 void set(SEXP
x)
const ;
180 template <
typename T>
operator T()
const ;
181 inline operator SEXP()
const {
return get() ; }
188 void set(SEXP
x )
const;
240 bool hasSlot(
const std::string& name)
const ;