Rcpp Version 1.0.9
|
#include <head.h>
Public Types | |
typedef Rcpp::VectorBase< RTYPE, NA, T > | VEC_TYPE |
typedef Rcpp::traits::storage_type< RTYPE >::type | STORAGE |
Public Types inherited from Rcpp::VectorBase< RTYPE, NA, Head< RTYPE, NA, T > > | |
typedef traits::storage_type< RTYPE >::type | stored_type |
typedef traits::storage_type< RTYPE >::type | elem_type |
typedef iter_base< iter_traits > | iterator |
typedef iter_base< const_iter_traits > | const_iterator |
Public Member Functions | |
Head (const VEC_TYPE &object_, R_xlen_t n_) | |
STORAGE | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, NA, Head< RTYPE, NA, T > > | |
Head< RTYPE, NA, T > & | get_ref () |
const Head< RTYPE, NA, T > & | get_ref () const |
stored_type | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Private Attributes | |
const VEC_TYPE & | object |
int | n |
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Head< RTYPE, NA, T >::STORAGE |
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Head< RTYPE, NA, T >::VEC_TYPE |
|
inline |
Definition at line 34 of file head.h.
References Rcpp::sugar::Head< RTYPE, NA, T >::n.
|
inline |
|
inline |
Definition at line 43 of file head.h.
References Rcpp::sugar::Head< RTYPE, NA, T >::n.
|
private |
Definition at line 47 of file head.h.
Referenced by Rcpp::sugar::Head< RTYPE, NA, T >::Head(), and Rcpp::sugar::Head< RTYPE, NA, T >::size().
|
private |