Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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.

References data, and v.

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 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 data.

◆ size()

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

Definition at line 35 of file Fast.h.

References 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 Fast(), operator[](), and operator[]().

◆ v

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

Definition at line 38 of file Fast.h.

Referenced by Fast(), and size().


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