|
Rcpp Version 0.9.10
|
#include <head.h>


Public Types | |
| typedef Rcpp::VectorBase < RTYPE, NA, T > | VEC_TYPE |
| typedef Rcpp::traits::storage_type < RTYPE >::type | STORAGE |
Public Member Functions | |
| Head (const VEC_TYPE &object_, int n_) | |
| STORAGE | operator[] (int i) const |
| int | size () 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 |
| Rcpp::sugar::Head< RTYPE, NA, T >::Head | ( | const VEC_TYPE & | object_, |
| int | n_ | ||
| ) | [inline] |
Definition at line 34 of file head.h.
References Rcpp::sugar::Head< RTYPE, NA, T >::n.
| STORAGE Rcpp::sugar::Head< RTYPE, NA, T >::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, na, VECTOR >.
Definition at line 40 of file head.h.
References i.
| int Rcpp::sugar::Head< RTYPE, NA, T >::size | ( | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, na, VECTOR >.
Definition at line 43 of file head.h.
References Rcpp::sugar::Head< RTYPE, NA, T >::n.
int 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().
const VEC_TYPE& Rcpp::sugar::Head< RTYPE, NA, T >::object [private] |