Rcpp Version 1.0.14
|
#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 |
![]() | |
typedef traits::storage_type< RTYPE >::type | stored_type |
typedef traits::storage_type< RTYPE >::type | elem_type |
typedef iter_base< iter_traits > | iterator |
typedef iter_base< const_iter_traits > | const_iterator |
Public Member Functions | |
IfElse (const COND_TYPE &cond_, const LHS_TYPE &lhs_, const RHS_TYPE &rhs_) | |
STORAGE | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
![]() | |
IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > & | get_ref () |
const IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > & | get_ref () const |
stored_type | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Private Attributes | |
const COND_TYPE & | cond |
const LHS_T & | lhs |
const RHS_T & | rhs |
|
inline |
Definition at line 48 of file ifelse.h.
References DEMANGLE, and RCPP_DEBUG.
|
inline |
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, Rcpp::traits::is_na< LGLSXP >(), Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs, and Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs.
|
inline |
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().
|
private |
Definition at line 65 of file ifelse.h.
Referenced by 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 >::operator[](), Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::size(), and Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::size().
|
private |
Definition at line 66 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[](), and Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[]().
|
private |
Definition at line 67 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[](), and Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[]().