Rcpp Version 1.0.9
Rcpp::sugar::SingleLogicalResult< NA, T > Class Template Reference

#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
 

Detailed Description

template<bool NA, typename T>
class Rcpp::sugar::SingleLogicalResult< NA, T >

Definition at line 42 of file SingleLogicalResult.h.

Constructor & Destructor Documentation

◆ SingleLogicalResult()

template<bool NA, typename T >
Rcpp::sugar::SingleLogicalResult< NA, T >::SingleLogicalResult ( )
inline

Definition at line 46 of file SingleLogicalResult.h.

Member Function Documentation

◆ apply()

◆ get()

◆ get_sexp()

template<bool NA, typename T >
SEXP Rcpp::sugar::SingleLogicalResult< NA, T >::get_sexp ( )
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().

Here is the call graph for this function:

◆ is_false()

template<bool NA, typename T >
bool Rcpp::sugar::SingleLogicalResult< NA, T >::is_false ( )
inline

Definition at line 59 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::apply().

Here is the call graph for this function:

◆ is_na()

template<bool NA, typename T >
bool Rcpp::sugar::SingleLogicalResult< NA, T >::is_na ( )
inline

Definition at line 64 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::apply(), and Rcpp::traits::is_na< LGLSXP >().

Here is the call graph for this function:

◆ is_true()

template<bool NA, typename T >
bool Rcpp::sugar::SingleLogicalResult< NA, T >::is_true ( )
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().

Here is the call graph for this function:

◆ is_unresolved()

template<bool NA, typename T >
bool Rcpp::sugar::SingleLogicalResult< NA, T >::is_unresolved ( )
inlineprotected

◆ operator bool()

template<bool NA, typename T >
Rcpp::sugar::SingleLogicalResult< NA, T >::operator bool ( )
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().

Here is the call graph for this function:

◆ operator SEXP()

template<bool NA, typename T >
Rcpp::sugar::SingleLogicalResult< NA, T >::operator SEXP ( )
inline

Definition at line 69 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::get_sexp().

Here is the call graph for this function:

◆ reset()

template<bool NA, typename T >
void Rcpp::sugar::SingleLogicalResult< NA, T >::reset ( )
inlineprotected

Definition at line 94 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::set(), and Rcpp::sugar::SingleLogicalResult< NA, T >::UNRESOLVED.

Here is the call graph for this function:

◆ set()

◆ set_false()

template<bool NA, typename T >
void Rcpp::sugar::SingleLogicalResult< NA, T >::set_false ( )
inlineprotected

Definition at line 96 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::set().

Here is the call graph for this function:

◆ set_na()

template<bool NA, typename T >
void Rcpp::sugar::SingleLogicalResult< NA, T >::set_na ( )
inlineprotected

Definition at line 97 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::set().

Here is the call graph for this function:

◆ set_true()

template<bool NA, typename T >
void Rcpp::sugar::SingleLogicalResult< NA, T >::set_true ( )
inlineprotected

Definition at line 95 of file SingleLogicalResult.h.

References Rcpp::sugar::SingleLogicalResult< NA, T >::set().

Here is the call graph for this function:

◆ size()

template<bool NA, typename T >
int Rcpp::sugar::SingleLogicalResult< NA, T >::size ( )
inline

Definition at line 79 of file SingleLogicalResult.h.

Member Data Documentation

◆ result

template<bool NA, typename T >
int Rcpp::sugar::SingleLogicalResult< NA, T >::result
protected

◆ UNRESOLVED


The documentation for this class was generated from the following file: