Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Any< NA, T > Class Template Reference

#include <any.h>

Inheritance diagram for Rcpp::sugar::Any< NA, T >:
Collaboration diagram for Rcpp::sugar::Any< NA, T >:

Public Types

typedef Rcpp::VectorBase< LGLSXP, NA, T > VEC_TYPE
typedef SingleLogicalResult< true, Any< NA, T > > PARENT

Public Member Functions

 Any (const VEC_TYPE &t)
void apply ()
Public Member Functions inherited from Rcpp::sugar::SingleLogicalResult< true, Any< NA, T > >
 SingleLogicalResult ()
void apply ()
bool is_true ()
bool is_false ()
bool is_na ()
 operator SEXP ()
 operator bool ()
int size ()
int get ()
SEXP get_sexp ()

Private Attributes

const VEC_TYPEobject

Additional Inherited Members

Static Public Attributes inherited from Rcpp::sugar::SingleLogicalResult< true, Any< NA, T > >
static const int UNRESOLVED
Protected Member Functions inherited from Rcpp::sugar::SingleLogicalResult< true, Any< NA, T > >
void set (int x)
void reset ()
void set_true ()
void set_false ()
void set_na ()
bool is_unresolved ()
Protected Attributes inherited from Rcpp::sugar::SingleLogicalResult< true, Any< NA, T > >
int result

Detailed Description

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

Definition at line 29 of file any.h.

Member Typedef Documentation

◆ PARENT

template<bool NA, typename T>
typedef SingleLogicalResult< true , Any<NA,T> > Rcpp::sugar::Any< NA, T >::PARENT

Definition at line 32 of file any.h.

◆ VEC_TYPE

template<bool NA, typename T>
typedef Rcpp::VectorBase<LGLSXP,NA,T> Rcpp::sugar::Any< NA, T >::VEC_TYPE

Definition at line 31 of file any.h.

Constructor & Destructor Documentation

◆ Any()

template<bool NA, typename T>
Rcpp::sugar::Any< NA, T >::Any ( const VEC_TYPE & t)
inline

Definition at line 33 of file any.h.

References object.

Member Function Documentation

◆ apply()

Member Data Documentation

◆ object

template<bool NA, typename T>
const VEC_TYPE& Rcpp::sugar::Any< NA, T >::object
private

Definition at line 54 of file any.h.

Referenced by Any().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/any.h