Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T > Class Template Reference

#include <pmax.h>

Inheritance diagram for Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >:
Collaboration diagram for Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >:

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
typedef pmax_op_Vector_Primitive< RTYPE, LHS_NA > OPERATOR
Public Types inherited from Rcpp::VectorBase< RTYPE, true, Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_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

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

const LHS_T & lhs
OPERATOR op

Detailed Description

template<int RTYPE, bool LHS_NA, typename LHS_T>
class Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >

Definition at line 127 of file pmax.h.

Member Typedef Documentation

◆ OPERATOR

template<int RTYPE, bool LHS_NA, typename LHS_T>
typedef pmax_op_Vector_Primitive<RTYPE,LHS_NA> Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::OPERATOR

Definition at line 134 of file pmax.h.

◆ STORAGE

template<int RTYPE, bool LHS_NA, typename LHS_T>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::STORAGE

Definition at line 133 of file pmax.h.

Constructor & Destructor Documentation

◆ Pmax_Vector_Primitive()

template<int RTYPE, bool LHS_NA, typename LHS_T>
Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::Pmax_Vector_Primitive ( const LHS_T & lhs_,
STORAGE rhs_ )
inline

Definition at line 136 of file pmax.h.

References lhs, and op.

Member Function Documentation

◆ operator[]()

template<int RTYPE, bool LHS_NA, typename LHS_T>
STORAGE Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::operator[] ( R_xlen_t i) const
inline

Definition at line 138 of file pmax.h.

References lhs, and op.

◆ size()

template<int RTYPE, bool LHS_NA, typename LHS_T>
R_xlen_t Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::size ( ) const
inline

Definition at line 141 of file pmax.h.

References lhs.

Member Data Documentation

◆ lhs

template<int RTYPE, bool LHS_NA, typename LHS_T>
const LHS_T& Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::lhs
private

Definition at line 144 of file pmax.h.

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

◆ op

template<int RTYPE, bool LHS_NA, typename LHS_T>
OPERATOR Rcpp::sugar::Pmax_Vector_Primitive< RTYPE, LHS_NA, LHS_T >::op
private

Definition at line 145 of file pmax.h.

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


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