|
Rcpp Version 0.9.10
|
#include <ifelse.h>


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_TYPE & | cond |
| const LHS_EXT & | lhs |
| const STORAGE | rhs |
| typedef Rcpp::VectorBase<LGLSXP,COND_NA,COND_T> Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::COND_TYPE |
| 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 |
| typedef Rcpp::VectorBase<RTYPE ,LHS_NA ,LHS_T> Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::LHS_TYPE |
| typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::STORAGE |
| 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] |
| STORAGE Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, true, IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T > >.
Definition at line 212 of file ifelse.h.
References Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::cond, i, Rcpp::traits::is_na< LGLSXP >(), Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::lhs, Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::rhs, and x.

| int Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::size | ( | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, true, IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T > >.
Definition at line 219 of file ifelse.h.
References Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::cond, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

const COND_TYPE& Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::cond [private] |
Definition at line 222 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::operator[](), Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::operator[](), Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::size(), and Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::size().
const LHS_EXT& Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::lhs [private] |
Definition at line 223 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::operator[](), and Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::operator[]().
const STORAGE Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::rhs [private] |
Definition at line 224 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::operator[](), and Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T >::operator[]().