22#ifndef Rcpp__vector__traits_h
23#define Rcpp__vector__traits_h
28 template <
int RTYPE,
template <
class>
class StoragePolicy = PreserveStorage >
31 typedef typename ::Rcpp::Vector<RTYPE, StoragePolicy>
VECTOR ;
57#ifndef RCPP_NO_BOUNDS_CHECK
59 warning(
"subscript out of bounds (index %s >= vector size %s)", i,
size);
68 template <
int RTYPE,
template <
class>
class StoragePolicy =
PreserveStorage>
71 typedef typename ::Rcpp::Vector<RTYPE, StoragePolicy>
VECTOR ;
95#ifndef RCPP_NO_BOUNDS_CHECK
97 warning(
"subscript out of bounds (index %s >= vector size %s)", i,
p->
size());
104 template <
int RTYPE,
template <
class>
class StoragePolicy =
PreserveStorage>
110 template <
template <
class>
class StoragePolicy>
114 template <
template <
class>
class StoragePolicy>
118 template <
template <
class>
class StoragePolicy>
r_vector_proxy< RTYPE, StoragePolicy >::type proxy
r_vector_const_proxy< RTYPE, StoragePolicy >::type const_proxy
::Rcpp::Vector< RTYPE, StoragePolicy > VECTOR
r_vector_iterator< RTYPE, StoragePolicy >::type iterator
const_proxy ref(R_xlen_t i) const
void check_index(R_xlen_t i) const
r_vector_const_iterator< RTYPE, StoragePolicy >::type const_iterator
const_iterator get_const() const
void update(const VECTOR &v)
void update(const VECTOR &v)
const_iterator get_const() const
proxy ref(R_xlen_t i) const
r_vector_const_iterator< RTYPE >::type const_iterator
r_vector_const_proxy< RTYPE >::type const_proxy
storage_type< RTYPE >::type storage_type
r_vector_iterator< RTYPE >::type iterator
void check_index(R_xlen_t i) const
::Rcpp::Vector< RTYPE, StoragePolicy > VECTOR
r_vector_proxy< RTYPE >::type proxy
T as(SEXP x, ::Rcpp::traits::r_type_primitive_tag)
void warning(const std::string &message)
proxy_cache< EXPRSXP, StoragePolicy > type
proxy_cache< STRSXP, StoragePolicy > type
proxy_cache< VECSXP, StoragePolicy > type
r_vector_cache< RTYPE, StoragePolicy > type
const storage_type< RTYPE >::type * type
const storage_type< RTYPE >::type & type
storage_type< RTYPE >::type * type
storage_type< RTYPE >::type & type