Rcpp Version 1.0.0
Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > > Class Template Reference

#include <nona.h>

Inheritance diagram for Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >:
Collaboration diagram for Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >:

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, Rcpp::Vector< RTYPE > > SUGAR_TYPE
 
typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 
typedef Rcpp::Vector< RTYPE >::const_iterator iterator
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, false, Nona< RTYPE, NA, Rcpp::Vector< RTYPE > > >
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

 Nona (const SUGAR_TYPE &expr)
 
R_xlen_t size () const
 
STORAGE operator[] (R_xlen_t i) const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, false, Nona< RTYPE, NA, Rcpp::Vector< RTYPE > > >
Nona< RTYPE, NA, Rcpp::Vector< RTYPE > > & get_ref ()
 
const Nona< RTYPE, NA, Rcpp::Vector< RTYPE > > & 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

iterator data
 
R_xlen_t n
 

Detailed Description

template<int RTYPE, bool NA>
class Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >

Definition at line 45 of file nona.h.

Member Typedef Documentation

◆ iterator

template<int RTYPE, bool NA>
typedef Rcpp::Vector<RTYPE>::const_iterator Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::iterator

Definition at line 49 of file nona.h.

◆ STORAGE

template<int RTYPE, bool NA>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::STORAGE

Definition at line 48 of file nona.h.

◆ SUGAR_TYPE

template<int RTYPE, bool NA>
typedef Rcpp::VectorBase<RTYPE,NA, Rcpp::Vector<RTYPE> > Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::SUGAR_TYPE

Definition at line 47 of file nona.h.

Constructor & Destructor Documentation

◆ Nona()

template<int RTYPE, bool NA>
Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::Nona ( const SUGAR_TYPE expr)
inline

Definition at line 51 of file nona.h.

Member Function Documentation

◆ operator[]()

template<int RTYPE, bool NA>
STORAGE Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::operator[] ( R_xlen_t  i) const
inline

Definition at line 54 of file nona.h.

References Rcpp::sugar::Nona< RTYPE, NA, VECTOR >::data.

◆ size()

template<int RTYPE, bool NA>
R_xlen_t Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::size ( ) const
inline

Definition at line 53 of file nona.h.

Member Data Documentation

◆ data

template<int RTYPE, bool NA>
iterator Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::data
private

Definition at line 57 of file nona.h.

◆ n

template<int RTYPE, bool NA>
R_xlen_t Rcpp::sugar::Nona< RTYPE, NA, Rcpp::Vector< RTYPE > >::n
private

Definition at line 58 of file nona.h.


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