Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::SugarBlock_2__PV< NA, RESULT_TYPE, U1, U2, T2 > Class Template Reference

#include <SugarBlock_2.h>

Inheritance diagram for Rcpp::sugar::SugarBlock_2__PV< NA, RESULT_TYPE, U1, U2, T2 >:
Collaboration diagram for Rcpp::sugar::SugarBlock_2__PV< NA, RESULT_TYPE, U1, 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__PV< NA, RESULT_TYPE, U1, 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__PV (FunPtr ptr_, U1 u1, 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__PV< NA, RESULT_TYPE, U1, U2, T2 > >
SugarBlock_2__PV< NA, RESULT_TYPE, U1, U2, T2 > & get_ref ()
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
U1 x
const T2 & y

Detailed Description

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

Definition at line 68 of file SugarBlock_2.h.

Member Typedef Documentation

◆ FunPtr

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

Definition at line 70 of file SugarBlock_2.h.

Constructor & Destructor Documentation

◆ SugarBlock_2__PV()

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

Definition at line 71 of file SugarBlock_2.h.

References ptr, x, and y.

Member Function Documentation

◆ operator[]()

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

Definition at line 74 of file SugarBlock_2.h.

References ptr, x, and y.

◆ size()

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

Definition at line 77 of file SugarBlock_2.h.

References y.

Member Data Documentation

◆ ptr

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

Definition at line 80 of file SugarBlock_2.h.

Referenced by operator[](), and SugarBlock_2__PV().

◆ x

template<bool NA, typename RESULT_TYPE, typename U1, typename U2, typename T2>
U1 Rcpp::sugar::SugarBlock_2__PV< NA, RESULT_TYPE, U1, U2, T2 >::x
private

Definition at line 81 of file SugarBlock_2.h.

Referenced by operator[](), and SugarBlock_2__PV().

◆ y

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

Definition at line 82 of file SugarBlock_2.h.

Referenced by operator[](), size(), and SugarBlock_2__PV().


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