Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::binary_call< T1, T2, RESULT_TYPE > Class Template Reference

#include <Language.h>

Inheritance diagram for Rcpp::binary_call< T1, T2, RESULT_TYPE >:
Collaboration diagram for Rcpp::binary_call< T1, T2, RESULT_TYPE >:

Public Member Functions

 binary_call (Language call_)
 binary_call (Language call_, R_xlen_t index1, R_xlen_t index2)
 binary_call (Function fun)
RESULT_TYPE operator() (const T1 &o1, const T2 &o2)

Private Attributes

Language call
Language::Proxy proxy1
Language::Proxy proxy2

Detailed Description

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
class Rcpp::binary_call< T1, T2, RESULT_TYPE >

Definition at line 206 of file Language.h.

Constructor & Destructor Documentation

◆ binary_call() [1/3]

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
Rcpp::binary_call< T1, T2, RESULT_TYPE >::binary_call ( Language call_)
inline

Definition at line 208 of file Language.h.

References call, proxy1, and proxy2.

◆ binary_call() [2/3]

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
Rcpp::binary_call< T1, T2, RESULT_TYPE >::binary_call ( Language call_,
R_xlen_t index1,
R_xlen_t index2 )
inline

Definition at line 209 of file Language.h.

References call, proxy1, and proxy2.

◆ binary_call() [3/3]

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
Rcpp::binary_call< T1, T2, RESULT_TYPE >::binary_call ( Function fun)
inline

Definition at line 210 of file Language.h.

References call, proxy1, and proxy2.

Member Function Documentation

◆ operator()()

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
RESULT_TYPE Rcpp::binary_call< T1, T2, RESULT_TYPE >::operator() ( const T1 & o1,
const T2 & o2 )
inline

Definition at line 212 of file Language.h.

References Rcpp::as(), call, proxy1, and proxy2.

Here is the call graph for this function:

Member Data Documentation

◆ call

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
Language Rcpp::binary_call< T1, T2, RESULT_TYPE >::call
private

Definition at line 219 of file Language.h.

Referenced by binary_call(), binary_call(), binary_call(), and operator()().

◆ proxy1

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
Language::Proxy Rcpp::binary_call< T1, T2, RESULT_TYPE >::proxy1
private

Definition at line 220 of file Language.h.

Referenced by binary_call(), binary_call(), binary_call(), and operator()().

◆ proxy2

template<typename T1, typename T2, typename RESULT_TYPE = SEXP>
Language::Proxy Rcpp::binary_call< T1, T2, RESULT_TYPE >::proxy2
private

Definition at line 221 of file Language.h.

Referenced by binary_call(), binary_call(), binary_call(), and operator()().


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