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

#include <Comparator_With_One_Value.h>

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

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef traits::storage_type< RTYPE >::type STORAGE
 
typedef int(Comparator_With_One_Value::* METHOD) (int) const
 
- Public Types inherited from Rcpp::VectorBase< LGLSXP, true, Comparator_With_One_Value< RTYPE, Operator, 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

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

int rhs_is_na (int i) const
 
int rhs_is_not_na (int i) const
 

Private Attributes

const VEC_TYPElhs
 
STORAGE rhs
 
METHOD m
 
Operator op
 

Detailed Description

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

Definition at line 29 of file Comparator_With_One_Value.h.

Member Typedef Documentation

◆ METHOD

template<int RTYPE, typename Operator , bool NA, typename T >
typedef int(Comparator_With_One_Value::* Rcpp::sugar::Comparator_With_One_Value< RTYPE, Operator, NA, T >::METHOD) (int) const

Definition at line 33 of file Comparator_With_One_Value.h.

◆ STORAGE

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

Definition at line 32 of file Comparator_With_One_Value.h.

◆ VEC_TYPE

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

Definition at line 31 of file Comparator_With_One_Value.h.

Constructor & Destructor Documentation

◆ Comparator_With_One_Value()

Member Function Documentation

◆ operator[]()

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

◆ rhs_is_na()

◆ rhs_is_not_na()

◆ size()

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

Member Data Documentation

◆ lhs

◆ m

◆ op

template<int RTYPE, typename Operator , bool NA, typename T >
Operator Rcpp::sugar::Comparator_With_One_Value< RTYPE, Operator, NA, T >::op
private

◆ rhs


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