Rcpp Version 0.9.10
Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION > Class Template Reference

#include <sapply.h>

Inheritance diagram for Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >:
Collaboration diagram for Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >:

List of all members.

Public Types

typedef
::Rcpp::traits::result_of
< Function >::type 
result_type
typedef Rcpp::VectorBase
< RTYPE, NA, T > 
VEC
typedef
Rcpp::traits::r_vector_element_converter
< RESULT_R_TYPE >::type 
converter_type
typedef
Rcpp::traits::storage_type
< RESULT_R_TYPE >::type 
STORAGE
typedef
Rcpp::traits::Extractor< RTYPE,
NA, T >::type 
EXT

Public Member Functions

 Sapply (const VEC &vec_, Function fun_)
STORAGE operator[] (int i) const
int size () const

Static Public Attributes

static const int RESULT_R_TYPE

Private Attributes

const EXTvec
Function fun

Detailed Description

template<int RTYPE, bool NA, typename T, typename Function, bool NO_CONVERSION>
class Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >

Definition at line 29 of file sapply.h.


Member Typedef Documentation

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
typedef Rcpp::traits::r_vector_element_converter<RESULT_R_TYPE>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::converter_type

Definition at line 42 of file sapply.h.

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
typedef Rcpp::traits::Extractor< RTYPE, NA, T>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::EXT

Definition at line 45 of file sapply.h.

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
typedef ::Rcpp::traits::result_of<Function>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::result_type

Definition at line 37 of file sapply.h.

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
typedef Rcpp::traits::storage_type<RESULT_R_TYPE>::type Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::STORAGE

Definition at line 43 of file sapply.h.

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::VEC

Definition at line 41 of file sapply.h.


Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::Sapply ( const VEC vec_,
Function  fun_ 
) [inline]

Definition at line 47 of file sapply.h.


Member Function Documentation

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
STORAGE Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::operator[] ( int  i) const [inline]
template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
int Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::size ( ) const [inline]

Member Data Documentation

template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
Function Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::fun [private]
template<int RTYPE, bool NA, typename T , typename Function , bool NO_CONVERSION>
const int Rcpp::sugar::Sapply< RTYPE, NA, T, Function, NO_CONVERSION >::RESULT_R_TYPE [static]
Initial value:

Definition at line 38 of file sapply.h.


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