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

#include <LazyVector.h>

List of all members.

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[] (int i) const

Private Attributes

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

Detailed Description

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

Definition at line 28 of file LazyVector.h.


Member Typedef Documentation

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

Definition at line 30 of file LazyVector.h.

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

Definition at line 31 of file LazyVector.h.


Constructor & Destructor Documentation

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

Definition at line 33 of file LazyVector.h.


Member Function Documentation

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

Member Data Documentation

template<typename VECTOR >
std::vector<stored_type> internal::LazyVector< VECTOR >::data [mutable, private]

Definition at line 49 of file LazyVector.h.

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

template<typename VECTOR >
std::vector<bool> internal::LazyVector< VECTOR >::known [mutable, private]

Definition at line 50 of file LazyVector.h.

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

template<typename VECTOR >
int internal::LazyVector< VECTOR >::n [private]

Definition at line 48 of file LazyVector.h.

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines