Rcpp Version 1.0.9
Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > Class Template Reference

#include <SugarBlock_2.h>

Inheritance diagram for Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >:
Collaboration diagram for Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >:

Public Types

typedef RESULT_TYPE(* FunPtr) (U1, U2)
 
- Public Types inherited from Rcpp::VectorBase< Rcpp::traits::r_sexptype_traits< RESULT_TYPE >::rtype, NA, SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > >
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_2 (FunPtr ptr_, const T1 &x_, const T2 &y_)
 
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_2< NA, RESULT_TYPE, U1, T1, U2, T2 > >
SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > & get_ref ()
 
const SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 > & 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 & x
 
const T2 & y
 

Detailed Description

template<bool NA, typename RESULT_TYPE, typename U1, typename T1, typename U2, typename T2>
class Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >

Definition at line 29 of file SugarBlock_2.h.

Member Typedef Documentation

◆ FunPtr

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

Definition at line 31 of file SugarBlock_2.h.

Constructor & Destructor Documentation

◆ SugarBlock_2()

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 , typename U2 , typename T2 >
Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >::SugarBlock_2 ( FunPtr  ptr_,
const T1 &  x_,
const T2 &  y_ 
)
inline

Definition at line 32 of file SugarBlock_2.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 , typename U2 , typename T2 >
R_xlen_t Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >::size ( ) const
inline

Member Data Documentation

◆ ptr

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

◆ x

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 , typename U2 , typename T2 >
const T1& Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >::x
private

◆ y

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 , typename U2 , typename T2 >
const T2& Rcpp::sugar::SugarBlock_2< NA, RESULT_TYPE, U1, T1, U2, T2 >::y
private

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