Rcpp Version 1.0.9
Rcpp::Fast< VECTOR > Class Template Reference

#include <Fast.h>

Public Types

typedef VECTOR::stored_type value_type
 

Public Member Functions

 Fast (VECTOR &v_)
 
value_typeoperator[] (R_xlen_t i)
 
const value_typeoperator[] (R_xlen_t i) const
 
R_xlen_t size () const
 

Private Attributes

VECTOR & v
 
value_typedata
 

Detailed Description

template<typename VECTOR>
class Rcpp::Fast< VECTOR >

Definition at line 27 of file Fast.h.

Member Typedef Documentation

◆ value_type

template<typename VECTOR >
typedef VECTOR::stored_type Rcpp::Fast< VECTOR >::value_type

Definition at line 29 of file Fast.h.

Constructor & Destructor Documentation

◆ Fast()

template<typename VECTOR >
Rcpp::Fast< VECTOR >::Fast ( VECTOR &  v_)
inline

Definition at line 31 of file Fast.h.

Member Function Documentation

◆ operator[]() [1/2]

template<typename VECTOR >
value_type& Rcpp::Fast< VECTOR >::operator[] ( R_xlen_t  i)
inline

Definition at line 33 of file Fast.h.

References Rcpp::Fast< VECTOR >::data.

◆ operator[]() [2/2]

template<typename VECTOR >
const value_type& Rcpp::Fast< VECTOR >::operator[] ( R_xlen_t  i) const
inline

Definition at line 34 of file Fast.h.

References Rcpp::Fast< VECTOR >::data.

◆ size()

template<typename VECTOR >
R_xlen_t Rcpp::Fast< VECTOR >::size ( ) const
inline

Definition at line 35 of file Fast.h.

References Rcpp::Fast< VECTOR >::v.

Member Data Documentation

◆ data

template<typename VECTOR >
value_type* Rcpp::Fast< VECTOR >::data
private

Definition at line 39 of file Fast.h.

Referenced by Rcpp::Fast< VECTOR >::operator[]().

◆ v

template<typename VECTOR >
VECTOR& Rcpp::Fast< VECTOR >::v
private

Definition at line 38 of file Fast.h.

Referenced by Rcpp::Fast< VECTOR >::size().


The documentation for this class was generated from the following file: