Rcpp Version 1.0.9
Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T > Class Template Reference

#include <minus.h>

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

Public Types

typedef traits::storage_type< RTYPE >::type STORAGE
 
typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef Rcpp::traits::Extractor< RTYPE, NA, T >::type VEC_EXT
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, true, Minus_Vector_Primitive< RTYPE, NA, T > >
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

 Minus_Vector_Primitive (const VEC_TYPE &lhs_, STORAGE rhs_)
 
STORAGE operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, Minus_Vector_Primitive< RTYPE, NA, T > >
Minus_Vector_Primitive< RTYPE, NA, T > & get_ref ()
 
const Minus_Vector_Primitive< RTYPE, NA, T > & 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 VEC_EXTlhs
 
STORAGE rhs
 
bool rhs_na
 

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T >

Definition at line 228 of file minus.h.

Member Typedef Documentation

◆ STORAGE

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

Definition at line 231 of file minus.h.

◆ VEC_EXT

template<int RTYPE, bool NA, typename T >
typedef Rcpp::traits::Extractor<RTYPE,NA,T>::type Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T >::VEC_EXT

Definition at line 233 of file minus.h.

◆ VEC_TYPE

template<int RTYPE, bool NA, typename T >
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T >::VEC_TYPE

Definition at line 232 of file minus.h.

Constructor & Destructor Documentation

◆ Minus_Vector_Primitive()

template<int RTYPE, bool NA, typename T >
Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T >::Minus_Vector_Primitive ( const VEC_TYPE lhs_,
STORAGE  rhs_ 
)
inline

Definition at line 235 of file minus.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

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

Definition at line 244 of file minus.h.

References Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T >::lhs.

Member Data Documentation

◆ lhs

◆ rhs

◆ rhs_na

template<int RTYPE, bool NA, typename T >
bool Rcpp::sugar::Minus_Vector_Primitive< RTYPE, NA, T >::rhs_na
private

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