Rcpp Version 0.12.12
Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T > Class Template Reference

#include <ifelse.h>

Inheritance diagram for Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >:
Collaboration diagram for Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >:

Public Types

typedef Rcpp::VectorBase< LGLSXP, false, COND_T > COND_TYPE
 
typedef Rcpp::VectorBase< RTYPE,LHS_NA,LHS_T > LHS_TYPE
 
typedef traits::storage_type< RTYPE >::type STORAGE
 
typedef Rcpp::traits::Extractor< RTYPE,LHS_NA,LHS_T >::type LHS_EXT
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, true, IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 IfElse_Vector_Primitive (const COND_TYPE &cond_, const LHS_TYPE &lhs_, STORAGE rhs_)
 
STORAGE operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, true, IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T > >
IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T > & get_ref ()
 
const IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_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 COND_TYPEcond
 
const LHS_EXTlhs
 
const STORAGE rhs
 

Detailed Description

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

Definition at line 233 of file ifelse.h.

Member Typedef Documentation

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

Definition at line 239 of file ifelse.h.

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

Definition at line 242 of file ifelse.h.

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

Definition at line 240 of file ifelse.h.

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

Definition at line 241 of file ifelse.h.

Constructor & Destructor Documentation

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T >
Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::IfElse_Vector_Primitive ( const COND_TYPE cond_,
const LHS_TYPE lhs_,
STORAGE  rhs_ 
)
inline

Definition at line 244 of file ifelse.h.

Member Function Documentation

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

Definition at line 254 of file ifelse.h.

References Rcpp::sugar::IfElse< RTYPE, COND_NA, COND_T, LHS_NA, LHS_T, RHS_NA, RHS_T >::cond, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

Member Data Documentation

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T >
const COND_TYPE& Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::cond
private

Definition at line 257 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T >
const LHS_EXT& Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::lhs
private

Definition at line 258 of file ifelse.h.

template<int RTYPE, typename COND_T , bool LHS_NA, typename LHS_T >
const STORAGE Rcpp::sugar::IfElse_Vector_Primitive< RTYPE, false, COND_T, LHS_NA, LHS_T >::rhs
private

Definition at line 259 of file ifelse.h.


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