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

#include <SugarBlock_2.h>

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

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__VP< NA, RESULT_TYPE, U1, T1, U2 > >
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__VP (FunPtr ptr_, const T1 &x_, U2 u2)
 
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__VP< NA, RESULT_TYPE, U1, T1, U2 > >
SugarBlock_2__VP< NA, RESULT_TYPE, U1, T1, U2 > & get_ref ()
 
const SugarBlock_2__VP< NA, RESULT_TYPE, U1, T1, U2 > & 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
 
U2 y
 

Detailed Description

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

Definition at line 50 of file SugarBlock_2.h.

Member Typedef Documentation

◆ FunPtr

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

Definition at line 52 of file SugarBlock_2.h.

Constructor & Destructor Documentation

◆ SugarBlock_2__VP()

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

Definition at line 53 of file SugarBlock_2.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

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

Member Data Documentation

◆ ptr

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

◆ x

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

◆ y

template<bool NA, typename RESULT_TYPE , typename U1 , typename T1 , typename U2 >
U2 Rcpp::sugar::SugarBlock_2__VP< NA, RESULT_TYPE, U1, T1, U2 >::y
private

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