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

#include <sapply.h>

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

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::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>
class Rcpp::sugar::Sapply< RTYPE, NA, T, Function, true >

Definition at line 62 of file sapply.h.


Member Typedef Documentation

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

Definition at line 77 of file sapply.h.

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

Definition at line 70 of file sapply.h.

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

Definition at line 75 of file sapply.h.

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

Definition at line 74 of file sapply.h.


Constructor & Destructor Documentation

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

Definition at line 79 of file sapply.h.


Member Function Documentation

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

Member Data Documentation

template<int RTYPE, bool NA, typename T , typename Function >
Function Rcpp::sugar::Sapply< RTYPE, NA, T, Function, true >::fun [private]

Definition at line 88 of file sapply.h.

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

Definition at line 71 of file sapply.h.

template<int RTYPE, bool NA, typename T , typename Function >
const EXT& Rcpp::sugar::Sapply< RTYPE, NA, T, Function, true >::vec [private]

Definition at line 87 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