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

#include <Fast.h>

List of all members.

Public Types

typedef VECTOR::stored_type value_type

Public Member Functions

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

Private Attributes

const VECTOR & v
value_typedata

Detailed Description

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

Definition at line 27 of file Fast.h.


Member Typedef Documentation

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

Definition at line 29 of file Fast.h.


Constructor & Destructor Documentation

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

Definition at line 31 of file Fast.h.


Member Function Documentation

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

Definition at line 33 of file Fast.h.

References Rcpp::Fast< VECTOR >::data, and i.

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

Definition at line 34 of file Fast.h.

References Rcpp::Fast< VECTOR >::data, and i.

template<typename VECTOR>
int Rcpp::Fast< VECTOR >::size ( ) const [inline]

Definition at line 35 of file Fast.h.

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


Member Data Documentation

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

Definition at line 39 of file Fast.h.

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

template<typename VECTOR>
const 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines