#include <Rcpp.h>
Public Member Functions | |
RcppVectorView (SEXP vec) | |
int | size () const |
T | operator() (int i) const |
Private Attributes | |
int | len |
T * | v |
Definition at line 470 of file Rcpp.h.
RcppVectorView< T >::RcppVectorView | ( | SEXP | vec | ) | [inline] |
Definition at line 415 of file Rcpp.cpp.
References RcppVectorView< T >::len, and RcppVectorView< T >::v.
int RcppVectorView< T >::size | ( | ) | const [inline] |
T RcppVectorView< T >::operator() | ( | int | i | ) | const [inline] |
Definition at line 474 of file Rcpp.h.
References RcppVectorView< T >::len, and RcppVectorView< T >::v.
int RcppVectorView< T >::len [private] |
Definition at line 483 of file Rcpp.h.
Referenced by RcppVectorView< T >::operator()(), RcppVectorView< T >::RcppVectorView(), and RcppVectorView< T >::size().
T* RcppVectorView< T >::v [private] |
Definition at line 484 of file Rcpp.h.
Referenced by RcppVectorView< T >::operator()(), and RcppVectorView< T >::RcppVectorView().