Rcpp Version 0.12.12
Rcpp::internal::LazyVector< VECTOR > Class Template Reference

#include <LazyVector.h>

Collaboration diagram for Rcpp::internal::LazyVector< VECTOR >:

Public Types

typedef VECTOR::r_type r_type
 
typedef Rcpp::traits::storage_type< r_type::value >::type stored_type
 

Public Member Functions

 LazyVector (const VECTOR &vec_)
 
stored_type operator[] (R_xlen_t i) const
 

Private Attributes

const VECTOR & vec
 
R_xlen_t n
 
std::vector< stored_typedata
 
std::vector< bool > known
 

Detailed Description

template<typename VECTOR>
class Rcpp::internal::LazyVector< VECTOR >

Definition at line 29 of file LazyVector.h.

Member Typedef Documentation

template<typename VECTOR>
typedef VECTOR::r_type Rcpp::internal::LazyVector< VECTOR >::r_type

Definition at line 31 of file LazyVector.h.

template<typename VECTOR>
typedef Rcpp::traits::storage_type< r_type::value >::type Rcpp::internal::LazyVector< VECTOR >::stored_type

Definition at line 32 of file LazyVector.h.

Constructor & Destructor Documentation

template<typename VECTOR>
Rcpp::internal::LazyVector< VECTOR >::LazyVector ( const VECTOR &  vec_)
inline

Definition at line 34 of file LazyVector.h.

Member Function Documentation

template<typename VECTOR>
stored_type Rcpp::internal::LazyVector< VECTOR >::operator[] ( R_xlen_t  i) const
inline

Definition at line 36 of file LazyVector.h.

Member Data Documentation

template<typename VECTOR>
std::vector<stored_type> Rcpp::internal::LazyVector< VECTOR >::data
mutableprivate

Definition at line 50 of file LazyVector.h.

Referenced by Rcpp::internal::LazyVector< RHS_TYPE >::operator[]().

template<typename VECTOR>
std::vector<bool> Rcpp::internal::LazyVector< VECTOR >::known
mutableprivate

Definition at line 51 of file LazyVector.h.

Referenced by Rcpp::internal::LazyVector< RHS_TYPE >::operator[]().

template<typename VECTOR>
R_xlen_t Rcpp::internal::LazyVector< VECTOR >::n
private

Definition at line 49 of file LazyVector.h.

template<typename VECTOR>
const VECTOR& Rcpp::internal::LazyVector< VECTOR >::vec
private

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