Rcpp Version 0.9.10
Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T > Class Template Reference

#include <ifelse.h>

Inheritance diagram for Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >:
Collaboration diagram for Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >:

List of all members.

Public Types

typedef Rcpp::VectorBase
< LGLSXP, false, COND_T > 
COND_TYPE
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
typedef
Rcpp::traits::Extractor< RTYPE,LHS_NA,LHS_T >
::type 
LHS_EXT
typedef
Rcpp::traits::Extractor< RTYPE,RHS_NA,RHS_T >
::type 
RHS_EXT

Public Member Functions

 IfElse (const COND_TYPE &cond_, const LHS_TYPE &lhs_, const RHS_TYPE &rhs_)
STORAGE operator[] (int i) const
int size () const

Private Attributes

const COND_TYPEcond
const LHS_EXTlhs
const RHS_EXTrhs

Detailed Description

template<int RTYPE, typename COND_T, bool LHS_NA, typename LHS_T, bool RHS_NA, typename RHS_T>
class Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >

Definition at line 77 of file ifelse.h.


Member Typedef Documentation

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::VectorBase<LGLSXP,false,COND_T> Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::COND_TYPE

Definition at line 83 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::traits::Extractor<RTYPE ,LHS_NA ,LHS_T>::type Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::LHS_EXT

Definition at line 88 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::VectorBase<RTYPE ,LHS_NA ,LHS_T> Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::LHS_TYPE

Definition at line 84 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::traits::Extractor<RTYPE ,RHS_NA ,RHS_T>::type Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::RHS_EXT

Definition at line 89 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
typedef Rcpp::VectorBase<RTYPE ,RHS_NA ,RHS_T> Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::RHS_TYPE

Definition at line 85 of file ifelse.h.

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

Definition at line 86 of file ifelse.h.


Constructor & Destructor Documentation

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::IfElse ( const COND_TYPE cond_,
const LHS_TYPE lhs_,
const RHS_TYPE rhs_ 
) [inline]

Definition at line 91 of file ifelse.h.


Member Function Documentation

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
STORAGE Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::operator[] ( int  i) const [inline]
template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
int Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::size ( ) const [inline]

Member Data Documentation

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
const COND_TYPE& Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::cond [private]

Definition at line 105 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
const LHS_EXT& Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::lhs [private]

Definition at line 106 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T , bool RHS_NA, typename RHS_T >
const RHS_EXT& Rcpp::sugar::IfElse< RTYPE, false, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::rhs [private]

Definition at line 107 of file ifelse.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines