#include <Rcpp.h>
Public Member Functions | |
RcppVector (SEXP vec) | |
RcppVector (int len) | |
int | size () |
T & | operator() (int i) |
T * | cVector () |
std::vector< T > | stlVector () |
Private Attributes | |
int | len |
T * | v |
Definition at line 358 of file Rcpp.h.
RcppVector< T >::RcppVector | ( | SEXP | vec | ) | [inline] |
RcppVector< T >::RcppVector | ( | int | len | ) | [inline] |
int RcppVector< T >::size | ( | ) | [inline] |
Definition at line 362 of file Rcpp.h.
Referenced by RcppResultSet::add(), Rcpp_Example(), and RcppVectorExample().
T& RcppVector< T >::operator() | ( | int | i | ) | [inline] |
T * RcppVector< T >::cVector | ( | ) | [inline] |
Definition at line 322 of file Rcpp.cpp.
References RcppVector< T >::len, and RcppVector< T >::v.
Referenced by RcppResultSet::add(), and Rcpp_Example().
std::vector< T > RcppVector< T >::stlVector | ( | ) | [inline] |
Definition at line 330 of file Rcpp.cpp.
References RcppVector< T >::len, and RcppVector< T >::v.
Referenced by Rcpp_Example().
int RcppVector< T >::len [private] |
Definition at line 374 of file Rcpp.h.
Referenced by RcppVector< T >::cVector(), RcppVector< T >::RcppVector(), and RcppVector< T >::stlVector().
T* RcppVector< T >::v [private] |
Definition at line 375 of file Rcpp.h.
Referenced by RcppVector< T >::cVector(), RcppVector< T >::operator()(), RcppVector< T >::RcppVector(), and RcppVector< T >::stlVector().