20 #ifndef Rcpp__vector__generic_proxy_h
21 #define Rcpp__vector__generic_proxy_h
26 template <
int RTYPE,
template <
class>
class StoragePolicy>
29 typedef typename ::Rcpp::Vector<RTYPE, StoragePolicy>
VECTOR ;
51 template <
template <
class>
class StoragePolicy2>
63 operator SEXP()
const {
67 template <
typename U>
operator U()
const {
68 return ::Rcpp::as<U>(
get()) ;
72 operator bool()
const { return ::Rcpp::as<bool>(
get()) ; }
73 operator int()
const { return ::Rcpp::as<int>(
get()) ; }
90 inline SEXP
get()
const {
95 inline void set(SEXP x) {
generic_proxy & operator=(SEXP rhs)
generic_proxy & operator=(const generic_proxy< RTYPE, StoragePolicy2 > &rhs)
void swap(generic_proxy &other)
generic_proxy(const generic_proxy &other)
::Rcpp::Vector< RTYPE, StoragePolicy > VECTOR
generic_proxy & operator=(const generic_proxy &rhs)
generic_proxy & operator=(const T &rhs)
generic_proxy(VECTOR &v, R_xlen_t i)
SEXP wrap(const Date &date)