Rcpp Version 1.0.9
Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T > Class Template Reference

#include <Comparator.h>

Inheritance diagram for Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >:
Collaboration diagram for Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > LHS_TYPE
 
typedef Rcpp::VectorBase< RTYPE, RHS_NA, RHS_T > RHS_TYPE
 
typedef traits::storage_type< RTYPE >::type STORAGE
 
- Public Types inherited from Rcpp::VectorBase< LGLSXP, true, Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_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

 Comparator (const LHS_TYPE &lhs_, const RHS_TYPE &rhs_)
 
int operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< LGLSXP, true, Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T > >
Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T > & get_ref ()
 
const Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_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 LHS_TYPElhs
 
const RHS_TYPErhs
 
Operator op
 

Detailed Description

template<int RTYPE, typename Operator, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
class Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >

Definition at line 29 of file Comparator.h.

Member Typedef Documentation

◆ LHS_TYPE

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::VectorBase<RTYPE,LHS_NA,LHS_T> Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::LHS_TYPE

Definition at line 33 of file Comparator.h.

◆ RHS_TYPE

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::VectorBase<RTYPE,RHS_NA,RHS_T> Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::RHS_TYPE

Definition at line 34 of file Comparator.h.

◆ STORAGE

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::STORAGE

Definition at line 35 of file Comparator.h.

Constructor & Destructor Documentation

◆ Comparator()

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::Comparator ( const LHS_TYPE lhs_,
const RHS_TYPE rhs_ 
)
inline

Definition at line 37 of file Comparator.h.

Member Function Documentation

◆ operator[]()

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
int Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[] ( R_xlen_t  i) const
inline

◆ size()

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
R_xlen_t Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::size ( ) const
inline

Definition at line 48 of file Comparator.h.

References Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

Member Data Documentation

◆ lhs

◆ op

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Operator Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::op
private

◆ rhs

template<int RTYPE, typename Operator , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
const RHS_TYPE& Rcpp::sugar::Comparator< RTYPE, Operator, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs
private

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