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

#include <divides.h>

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

Public Types

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

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

STORAGE lhs
const VEC_EXTrhs
bool lhs_na

Detailed Description

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

Definition at line 322 of file divides.h.

Member Typedef Documentation

◆ STORAGE

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

Definition at line 327 of file divides.h.

◆ VEC_EXT

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

Definition at line 326 of file divides.h.

◆ VEC_TYPE

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

Definition at line 325 of file divides.h.

Constructor & Destructor Documentation

◆ Divides_Primitive_Vector()

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

Definition at line 329 of file divides.h.

References Rcpp::VectorBase< RTYPE, true, Divides_Primitive_Vector< RTYPE, NA, T > >::get_ref(), Rcpp::is_na(), lhs, lhs_na, and rhs.

Here is the call graph for this function:

Member Function Documentation

◆ operator[]()

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

Definition at line 332 of file divides.h.

References Rcpp::traits::is_na(), lhs, lhs_na, and rhs.

Here is the call graph for this function:

◆ size()

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

Definition at line 337 of file divides.h.

References rhs.

Member Data Documentation

◆ lhs

template<int RTYPE, bool NA, typename T>
STORAGE Rcpp::sugar::Divides_Primitive_Vector< RTYPE, NA, T >::lhs
private

Definition at line 339 of file divides.h.

Referenced by Divides_Primitive_Vector(), and operator[]().

◆ lhs_na

template<int RTYPE, bool NA, typename T>
bool Rcpp::sugar::Divides_Primitive_Vector< RTYPE, NA, T >::lhs_na
private

Definition at line 341 of file divides.h.

Referenced by Divides_Primitive_Vector(), and operator[]().

◆ rhs

template<int RTYPE, bool NA, typename T>
const VEC_EXT& Rcpp::sugar::Divides_Primitive_Vector< RTYPE, NA, T >::rhs
private

Definition at line 340 of file divides.h.

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


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