Rcpp Version 1.0.9
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 iter_base< iter_traits > iterator
 
typedef iter_base< const_iter_traits > 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
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () 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

◆ FunPtr

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

◆ SugarBlock_1()

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

◆ operator[]()

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

◆ size()

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

◆ ptr

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

◆ vec

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: