Rcpp Version 0.12.12
Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 > Class Template Reference

#include <SugarBlock_1.h>

Inheritance diagram for Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >:
Collaboration diagram for Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >:

Public Types

typedef RESULT_TYPE(* FunPtr) (U1)
 
- Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarBlock_1< NA, RESULT_TYPE, U1, T1 > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 SugarBlock_1 (FunPtr ptr_, const T1 &vec_)
 
RESULT_TYPE operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarBlock_1< NA, RESULT_TYPE, U1, T1 > >
SugarBlock_1< NA, RESULT_TYPE, U1, T1 > & get_ref ()
 
const SugarBlock_1< NA, RESULT_TYPE, U1, T1 > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

FunPtr ptr
 
const T1 & vec
 

Detailed Description

template<bool NA, typename RESULT_TYPE, typename U1, typename T1>
class Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >

Definition at line 29 of file SugarBlock_1.h.

Member Typedef Documentation

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 >
typedef RESULT_TYPE(* Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >::FunPtr) (U1)

Definition at line 31 of file SugarBlock_1.h.

Constructor & Destructor Documentation

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 >
Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >::SugarBlock_1 ( FunPtr  ptr_,
const T1 &  vec_ 
)
inline

Definition at line 32 of file SugarBlock_1.h.

Member Function Documentation

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 >
RESULT_TYPE Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >::operator[] ( R_xlen_t  i) const
inline
template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 >
R_xlen_t Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >::size ( ) const
inline

Member Data Documentation

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 >
FunPtr Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >::ptr
private
template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 >
const T1& Rcpp::sugar::SugarBlock_1< NA, RESULT_TYPE, U1, T1 >::vec
private

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