Rcpp Version 1.0.14
|
#include <traits.h>
Public Types | |
typedef ::Rcpp::Vector< RTYPE, StoragePolicy > | VECTOR |
typedef r_vector_iterator< RTYPE >::type | iterator |
typedef r_vector_const_iterator< RTYPE >::type | const_iterator |
typedef r_vector_proxy< RTYPE >::type | proxy |
typedef r_vector_const_proxy< RTYPE >::type | const_proxy |
typedef storage_type< RTYPE >::type | storage_type |
Public Member Functions | |
r_vector_cache () | |
void | update (const VECTOR &v) |
iterator | get () const |
const_iterator | get_const () const |
proxy | ref () |
proxy | ref (R_xlen_t i) |
proxy | ref () const |
proxy | ref (R_xlen_t i) const |
Private Member Functions | |
void | check_index (R_xlen_t i) const |
Private Attributes | |
iterator | start |
R_xlen_t | size |
typedef r_vector_const_iterator<RTYPE>::type Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::const_iterator |
typedef r_vector_const_proxy<RTYPE>::type Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::const_proxy |
typedef r_vector_iterator<RTYPE>::type Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::iterator |
typedef r_vector_proxy<RTYPE>::type Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::proxy |
typedef storage_type<RTYPE>::type Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::storage_type |
typedef ::Rcpp::Vector<RTYPE, StoragePolicy> Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::VECTOR |
|
inline |
|
inlineprivate |
Definition at line 56 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::size, and Rcpp::warning().
Referenced by Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref().
|
inline |
Definition at line 45 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
inline |
Definition at line 46 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
inline |
Definition at line 48 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::check_index(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
inline |
Definition at line 51 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::check_index(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
inline |
Definition at line 49 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::check_index(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
inline |
Definition at line 52 of file traits.h.
References Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::check_index(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
inline |
Definition at line 40 of file traits.h.
References Rcpp::internal::as(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::size, Rcpp::Vector< RTYPE, StoragePolicy >::size(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::start.
|
private |
Definition at line 65 of file traits.h.
Referenced by Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::check_index(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::update().
|
private |
Definition at line 64 of file traits.h.
Referenced by Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::get(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::get_const(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::ref(), and Rcpp::traits::r_vector_cache< RTYPE, StoragePolicy >::update().