Rcpp Version 1.0.9
|
#include <SingleLogicalResult.h>
Public Member Functions | |
SingleLogicalResult () | |
void | apply () |
bool | is_true () |
bool | is_false () |
bool | is_na () |
operator SEXP () | |
operator bool () | |
int | size () |
int | get () |
SEXP | get_sexp () |
Static Public Attributes | |
static const int | UNRESOLVED = -5 |
Protected Member Functions | |
void | set (int x) |
void | reset () |
void | set_true () |
void | set_false () |
void | set_na () |
bool | is_unresolved () |
Protected Attributes | |
int | result |
Definition at line 42 of file SingleLogicalResult.h.
|
inline |
Definition at line 46 of file SingleLogicalResult.h.
|
inline |
Definition at line 48 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::UNRESOLVED.
Referenced by Rcpp::sugar::SingleLogicalResult< NA, T >::get(), Rcpp::sugar::SingleLogicalResult< NA, T >::get_sexp(), Rcpp::sugar::SingleLogicalResult< NA, T >::is_false(), Rcpp::sugar::SingleLogicalResult< NA, T >::is_na(), and Rcpp::sugar::SingleLogicalResult< NA, T >::is_true().
|
inline |
Definition at line 81 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::apply(), and Rcpp::sugar::SingleLogicalResult< NA, T >::result.
Referenced by Rcpp::sugar::And_SingleLogicalResult_SingleLogicalResult< LHS_NA, LHS_T, RHS_NA, RHS_T >::apply(), Rcpp::sugar::And_SingleLogicalResult_SingleLogicalResult< LHS_NA, LHS_T, false, RHS_T >::apply(), Rcpp::sugar::And_SingleLogicalResult_SingleLogicalResult< false, LHS_T, RHS_NA, RHS_T >::apply(), Rcpp::sugar::And_SingleLogicalResult_SingleLogicalResult< false, LHS_T, false, RHS_T >::apply(), Rcpp::sugar::And_SingleLogicalResult_bool< LHS_NA, LHS_T >::apply(), Rcpp::sugar::Negate_SingleLogicalResult< NA, T >::apply(), Rcpp::sugar::Or_SingleLogicalResult_SingleLogicalResult< LHS_NA, LHS_T, RHS_NA, RHS_T >::apply(), Rcpp::sugar::Or_SingleLogicalResult_SingleLogicalResult< LHS_NA, LHS_T, false, RHS_T >::apply(), Rcpp::sugar::Or_SingleLogicalResult_SingleLogicalResult< false, LHS_T, RHS_NA, RHS_T >::apply(), Rcpp::sugar::Or_SingleLogicalResult_SingleLogicalResult< false, LHS_T, false, RHS_T >::apply(), and Rcpp::sugar::Or_SingleLogicalResult_bool< LHS_NA, LHS_T >::apply().
|
inline |
Definition at line 86 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::apply().
Referenced by Rcpp::sugar::SingleLogicalResult< NA, T >::operator SEXP().
|
inline |
Definition at line 59 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::apply().
|
inline |
Definition at line 64 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::apply(), and Rcpp::traits::is_na< LGLSXP >().
|
inline |
Definition at line 54 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::apply().
Referenced by Rcpp::sugar::SingleLogicalResult< NA, T >::operator bool().
|
inlineprotected |
Definition at line 98 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::UNRESOLVED.
|
inline |
Definition at line 73 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::is_true(), and Rcpp::sugar::conversion_to_bool_is_forbidden< x >::touch().
|
inline |
Definition at line 69 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::get_sexp().
|
inlineprotected |
Definition at line 94 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::set(), and Rcpp::sugar::SingleLogicalResult< NA, T >::UNRESOLVED.
|
inlineprotected |
Definition at line 93 of file SingleLogicalResult.h.
Referenced by Rcpp::sugar::Or_SingleLogicalResult_bool< LHS_NA, LHS_T >::apply(), Rcpp::sugar::SingleLogicalResult< NA, T >::reset(), Rcpp::sugar::SingleLogicalResult< NA, T >::set_false(), Rcpp::sugar::SingleLogicalResult< NA, T >::set_na(), and Rcpp::sugar::SingleLogicalResult< NA, T >::set_true().
|
inlineprotected |
Definition at line 96 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::set().
|
inlineprotected |
Definition at line 97 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::set().
|
inlineprotected |
Definition at line 95 of file SingleLogicalResult.h.
References Rcpp::sugar::SingleLogicalResult< NA, T >::set().
|
inline |
Definition at line 79 of file SingleLogicalResult.h.
|
protected |
Definition at line 92 of file SingleLogicalResult.h.
Referenced by Rcpp::sugar::SingleLogicalResult< NA, T >::get().
|
static |
Definition at line 44 of file SingleLogicalResult.h.
Referenced by Rcpp::sugar::SingleLogicalResult< NA, T >::apply(), Rcpp::sugar::SingleLogicalResult< NA, T >::is_unresolved(), and Rcpp::sugar::SingleLogicalResult< NA, T >::reset().