Rcpp Version 0.12.14
Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T > Class Template Reference

#include <plus.h>

Inheritance diagram for Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >:
Collaboration diagram for Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, false, T > VEC_TYPE
 
typedef traits::storage_type< RTYPE >::type STORAGE
 
typedef Rcpp::traits::Extractor< RTYPE, false, T >::type EXT
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, false, Plus_Vector_Primitive< RTYPE, false, 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

 Plus_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, false, Plus_Vector_Primitive< RTYPE, false, T > >
Plus_Vector_Primitive< RTYPE, false, T > & get_ref ()
 
const Plus_Vector_Primitive< RTYPE, false, 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 EXTlhs
 
STORAGE rhs
 
bool rhs_na
 

Detailed Description

template<int RTYPE, typename T>
class Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >

Definition at line 300 of file plus.h.

Member Typedef Documentation

◆ EXT

template<int RTYPE, typename T >
typedef Rcpp::traits::Extractor< RTYPE, false, T>::type Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::EXT

Definition at line 305 of file plus.h.

◆ STORAGE

template<int RTYPE, typename T >
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::STORAGE

Definition at line 303 of file plus.h.

◆ VEC_TYPE

template<int RTYPE, typename T >
typedef Rcpp::VectorBase<RTYPE,false,T> Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::VEC_TYPE

Definition at line 302 of file plus.h.

Constructor & Destructor Documentation

◆ Plus_Vector_Primitive()

template<int RTYPE, typename T >
Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::Plus_Vector_Primitive ( const VEC_TYPE lhs_,
STORAGE  rhs_ 
)
inline

Definition at line 307 of file plus.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

template<int RTYPE, typename T >
R_xlen_t Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::size ( ) const
inline

Member Data Documentation

◆ lhs

template<int RTYPE, typename T >
const EXT& Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::lhs
private

Definition at line 317 of file plus.h.

◆ rhs

template<int RTYPE, typename T >
STORAGE Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::rhs
private

Definition at line 318 of file plus.h.

◆ rhs_na

template<int RTYPE, typename T >
bool Rcpp::sugar::Plus_Vector_Primitive< RTYPE, false, T >::rhs_na
private

Definition at line 319 of file plus.h.


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