Rcpp Version 1.0.9
|
#include <ifelse.h>
Public Types | |
typedef Rcpp::VectorBase< LGLSXP, COND_NA, COND_T > | COND_TYPE |
typedef traits::storage_type< RTYPE >::type | STORAGE |
Public Types inherited from Rcpp::VectorBase< RTYPE, true, IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T > > | |
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_Primitive_Primitive (const COND_TYPE &cond_, STORAGE lhs_, STORAGE rhs_) | |
STORAGE | operator[] (R_xlen_t i) const |
R_xlen_t | size () const |
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T > > | |
IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T > & | get_ref () |
const IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_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 |
STORAGE | lhs |
STORAGE | rhs |
STORAGE | na |
typedef Rcpp::VectorBase<LGLSXP,COND_NA,COND_T> Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::COND_TYPE |
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::STORAGE |
|
inline |
|
inline |
Definition at line 287 of file ifelse.h.
References Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::cond, Rcpp::traits::is_na< LGLSXP >(), Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::lhs, and Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::rhs.
|
inline |
Definition at line 293 of file ifelse.h.
References Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::cond, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().
|
private |
Definition at line 296 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::operator[](), Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::operator[](), Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::size(), and Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::size().
|
private |
Definition at line 297 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::operator[](), and Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::operator[]().
|
private |
|
private |
Definition at line 298 of file ifelse.h.
Referenced by Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, COND_NA, COND_T >::operator[](), and Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::operator[]().