Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
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

Public Member Functions

 Comparator (const LHS_TYPE &lhs_, const RHS_TYPE &rhs_)
int operator[] (int i) const
int 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
iterator begin () const
iterator end () 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

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.

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.

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

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

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[] ( int  i) const
inline
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 >::size ( ) const
inline

Member Data Documentation

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