Rcpp Version 0.12.12
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 iterator 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
 
iterator begin () const
 
iterator end () 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

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.

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.

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

Member Function Documentation

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
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

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

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