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

#include <SugarBlock_2.h>

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

List of all members.

Public Types

typedef OUT(* FunPtr )(U1, U2)

Public Member Functions

 SugarBlock_2 (FunPtr ptr_, const T1 &x_, const T2 &y_)
OUT operator[] (int i) const
int size () const

Private Attributes

FunPtr ptr
const T1 & x
const T2 & y

Detailed Description

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

Definition at line 29 of file SugarBlock_2.h.


Member Typedef Documentation

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

Definition at line 31 of file SugarBlock_2.h.


Constructor & Destructor Documentation

template<bool NA, typename OUT , typename U1 , typename T1 , typename U2 , typename T2 >
Rcpp::sugar::SugarBlock_2< NA, OUT, 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

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

Member Data Documentation

template<bool NA, typename OUT , typename U1 , typename T1 , typename U2 , typename T2 >
FunPtr Rcpp::sugar::SugarBlock_2< NA, OUT, U1, T1, U2, T2 >::ptr [private]
template<bool NA, typename OUT , typename U1 , typename T1 , typename U2 , typename T2 >
const T1& Rcpp::sugar::SugarBlock_2< NA, OUT, U1, T1, U2, T2 >::x [private]
template<bool NA, typename OUT , typename U1 , typename T1 , typename U2 , typename T2 >
const T2& Rcpp::sugar::SugarBlock_2< NA, OUT, U1, T1, U2, T2 >::y [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines