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

#include <nona.h>

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

Public Types

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

Detailed Description

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

Definition at line 29 of file nona.h.

Member Typedef Documentation

◆ STORAGE

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

Definition at line 32 of file nona.h.

◆ SUGAR_TYPE

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

Definition at line 31 of file nona.h.

Constructor & Destructor Documentation

◆ Nona()

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

Definition at line 34 of file nona.h.

References data, and Rcpp::VectorBase< RTYPE, false, Nona< RTYPE, NA, VECTOR > >::get_ref().

Here is the call graph for this function:

Member Function Documentation

◆ operator[]()

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

Definition at line 37 of file nona.h.

References data.

◆ size()

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

Definition at line 36 of file nona.h.

References data.

Member Data Documentation

◆ data

template<int RTYPE, bool NA, typename VECTOR>
const VECTOR& Rcpp::sugar::Nona< RTYPE, NA, VECTOR >::data
private

Definition at line 40 of file nona.h.

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


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