Rcpp Version 0.9.10
Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T > Class Template Reference

#include <ifelse.h>

Inheritance diagram for Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >:
Collaboration diagram for Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >:

List of all members.

Public Types

typedef Rcpp::VectorBase
< LGLSXP, false, COND_T > 
COND_TYPE
typedef traits::storage_type
< RTYPE >::type 
STORAGE

Public Member Functions

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

Private Attributes

const COND_TYPEcond
STORAGE lhs
STORAGE rhs

Detailed Description

template<int RTYPE, typename COND_T>
class Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >

Definition at line 306 of file ifelse.h.


Member Typedef Documentation

template<int RTYPE, typename COND_T >
typedef Rcpp::VectorBase<LGLSXP,false,COND_T> Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::COND_TYPE

Definition at line 312 of file ifelse.h.

template<int RTYPE, typename COND_T >
typedef traits::storage_type<RTYPE>::type Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::STORAGE

Definition at line 313 of file ifelse.h.


Constructor & Destructor Documentation

template<int RTYPE, typename COND_T >
Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::IfElse_Primitive_Primitive ( const COND_TYPE cond_,
STORAGE  lhs_,
STORAGE  rhs_ 
) [inline]

Definition at line 315 of file ifelse.h.


Member Function Documentation

template<int RTYPE, typename COND_T >
int Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::size ( ) const [inline]

Member Data Documentation

template<int RTYPE, typename COND_T >
const COND_TYPE& Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::cond [private]

Definition at line 327 of file ifelse.h.

template<int RTYPE, typename COND_T >
STORAGE Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::lhs [private]

Definition at line 328 of file ifelse.h.

template<int RTYPE, typename COND_T >
STORAGE Rcpp::sugar::IfElse_Primitive_Primitive< RTYPE, false, COND_T >::rhs [private]

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