18 #ifndef Rcpp_proxy_NamesProxy_h
19 #define Rcpp_proxy_NamesProxy_h
23 template <
typename CLASS>
33 if(
this != &rhs)
set( rhs.
get() ) ;
40 template <
typename T>
operator T()
const;
53 if( TYPEOF(x) == STRSXP &&
parent.size() == Rf_length(x) ){
57 SEXP namesSym = Rf_install(
"names<-" );
71 template <
typename T>
operator T()
const;
83 return NamesProxy(
static_cast<CLASS&
>(*
this) ) ;
NamesProxy & operator=(const NamesProxy &rhs)
NamesProxy & operator=(const T &rhs)
const_NamesProxy(const CLASS &v)
const_NamesProxy names() const
#define RCPP_GET_NAMES(x)
SEXP Rcpp_fast_eval(SEXP expr, SEXP env)