Rcpp Version 0.9.10
Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T > Class Template Reference

#include <ifelse.h>

Inheritance diagram for Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >:
Collaboration diagram for Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >:

List of all members.

Public Types

typedef Rcpp::VectorBase
< LGLSXP, COND_NA, COND_T > 
COND_TYPE
typedef Rcpp::VectorBase
< RTYPE,LHS_NA,LHS_T > 
LHS_TYPE
typedef traits::storage_type
< RTYPE >::type 
STORAGE
typedef
Rcpp::traits::Extractor< RTYPE,LHS_NA,LHS_T >
::type 
LHS_EXT

Public Member Functions

 IfElse_Vector_Primitive (const COND_TYPE &cond_, const LHS_TYPE &lhs_, STORAGE rhs_)
STORAGE operator[] (int i) const
int size () const

Private Attributes

const COND_TYPEcond
const LHS_EXTlhs
const STORAGE rhs

Detailed Description

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
class Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >

Definition at line 196 of file ifelse.h.


Member Typedef Documentation

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
typedef Rcpp::VectorBase<LGLSXP,COND_NA,COND_T> Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::COND_TYPE

Definition at line 202 of file ifelse.h.

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
typedef Rcpp::traits::Extractor<RTYPE ,LHS_NA ,LHS_T>::type Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::LHS_EXT

Definition at line 205 of file ifelse.h.

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
typedef Rcpp::VectorBase<RTYPE ,LHS_NA ,LHS_T> Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::LHS_TYPE

Definition at line 203 of file ifelse.h.

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::STORAGE

Definition at line 204 of file ifelse.h.


Constructor & Destructor Documentation

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::IfElse_Vector_Primitive ( const COND_TYPE cond_,
const LHS_TYPE lhs_,
STORAGE  rhs_ 
) [inline]

Definition at line 207 of file ifelse.h.


Member Function Documentation

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
int Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::size ( ) const [inline]

Member Data Documentation

template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
const LHS_EXT& Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::lhs [private]
template<int RTYPE, bool COND_NA, typename COND_T, bool LHS_NA, typename LHS_T>
const STORAGE Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::rhs [private]

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