Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE > Class Template Reference

#include <is_na.h>

Inheritance diagram for Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >:
Collaboration diagram for Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >:

Public Types

typedef traits::storage_type< RTYPE >::type STORAGE
typedef Rcpp::VectorBase< RTYPE, NA, VEC_TYPE > BASE
Public Types inherited from Rcpp::VectorBase< LGLSXP, false, IsNa< RTYPE, NA, VEC_TYPE > >
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

 IsNa (const BASE &obj_)
int operator[] (R_xlen_t i) const
R_xlen_t size () const
Public Member Functions inherited from Rcpp::VectorBase< LGLSXP, false, IsNa< RTYPE, NA, VEC_TYPE > >
IsNa< RTYPE, NA, VEC_TYPE > & get_ref ()
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 BASEobj

Detailed Description

template<int RTYPE, bool NA, typename VEC_TYPE>
class Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >

Definition at line 29 of file is_na.h.

Member Typedef Documentation

◆ BASE

template<int RTYPE, bool NA, typename VEC_TYPE>
typedef Rcpp::VectorBase<RTYPE,NA,VEC_TYPE> Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::BASE

Definition at line 32 of file is_na.h.

◆ STORAGE

template<int RTYPE, bool NA, typename VEC_TYPE>
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::STORAGE

Definition at line 31 of file is_na.h.

Constructor & Destructor Documentation

◆ IsNa()

template<int RTYPE, bool NA, typename VEC_TYPE>
Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::IsNa ( const BASE & obj_)
inline

Definition at line 34 of file is_na.h.

References obj.

Member Function Documentation

◆ operator[]()

template<int RTYPE, bool NA, typename VEC_TYPE>
int Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::operator[] ( R_xlen_t i) const
inline

Definition at line 36 of file is_na.h.

References obj.

◆ size()

template<int RTYPE, bool NA, typename VEC_TYPE>
R_xlen_t Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::size ( ) const
inline

Definition at line 40 of file is_na.h.

References obj.

Member Data Documentation

◆ obj

template<int RTYPE, bool NA, typename VEC_TYPE>
const BASE& Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::obj
private

Definition at line 43 of file is_na.h.

Referenced by IsNa(), operator[](), and size().


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