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

#include <Comparator.h>

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

Public Types

typedef Rcpp::VectorBase< RTYPE, false, 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, false, LHS_T, RHS_NA, RHS_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 (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, false, LHS_T, RHS_NA, RHS_T > >
Comparator< RTYPE, Operator, false, LHS_T, RHS_NA, RHS_T > & get_ref ()
 
const Comparator< RTYPE, Operator, false, LHS_T, RHS_NA, RHS_T > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

const LHS_TYPElhs
 
const RHS_TYPErhs
 
Operator op
 

Detailed Description

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

Definition at line 60 of file Comparator.h.

Member Typedef Documentation

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

Definition at line 64 of file Comparator.h.

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

Definition at line 65 of file Comparator.h.

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

Definition at line 66 of file Comparator.h.

Constructor & Destructor Documentation

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

Definition at line 68 of file Comparator.h.

Member Function Documentation

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

Definition at line 77 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

template<int RTYPE, typename Operator , typename LHS_T , bool RHS_NA, typename RHS_T >
const LHS_TYPE& Rcpp::sugar::Comparator< RTYPE, Operator, false, LHS_T, RHS_NA, RHS_T >::lhs
private

Definition at line 80 of file Comparator.h.

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

Definition at line 82 of file Comparator.h.

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

Definition at line 81 of file Comparator.h.


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