|
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 Rcpp::VectorBase < RTYPE,RHS_NA,RHS_T > | RHS_TYPE |
| typedef traits::storage_type < RTYPE >::type | STORAGE |
Public Member Functions | |
| IfElse (const COND_TYPE &cond_, const LHS_TYPE &lhs_, const RHS_TYPE &rhs_) | |
| STORAGE | operator[] (int i) const |
| int | size () const |
Private Attributes | |
| const COND_TYPE & | cond |
| const LHS_T & | lhs |
| const RHS_T & | rhs |
| typedef Rcpp::VectorBase<LGLSXP,COND_NA,COND_T> Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::COND_TYPE |
| typedef Rcpp::VectorBase<RTYPE ,LHS_NA ,LHS_T> Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::LHS_TYPE |
| typedef Rcpp::VectorBase<RTYPE ,RHS_NA ,RHS_T> Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::RHS_TYPE |
| typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::STORAGE |
| Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::IfElse | ( | const COND_TYPE & | cond_, |
| const LHS_TYPE & | lhs_, | ||
| const RHS_TYPE & | rhs_ | ||
| ) | [inline] |
Definition at line 48 of file ifelse.h.
References DEMANGLE, and RCPP_DEBUG.
| STORAGE Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE,(COND_NA||LHS_NA||RHS_NA), IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > >.
Definition at line 55 of file ifelse.h.
References Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::cond, i, Rcpp::traits::is_na< LGLSXP >(), Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs, Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs, and x.

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

const COND_TYPE& Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::cond [private] |
Definition at line 65 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[](), Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[](), Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::size(), and Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::size().
const LHS_T& Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs [private] |
Definition at line 66 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[](), and Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[]().
const RHS_T& Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs [private] |
Definition at line 67 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[](), and Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[]().