Rcpp Version 1.0.9
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 ()
 
const IsNa< RTYPE, NA, VEC_TYPE > & 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 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.

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 Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::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 Rcpp::sugar::IsNa< RTYPE, NA, VEC_TYPE >::obj, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

Member Data Documentation

◆ obj

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

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