Rcpp Version 0.12.12
Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > Class Template Reference

#include <clamp.h>

Inheritance diagram for Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >:
Collaboration diagram for Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >:

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 
typedef clamp_operator<RTYPE, NAOPERATOR
 
- Public Types inherited from Rcpp::VectorBase< RTYPE, NA, Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 Clamp_Primitive_Vector_Primitive (STORAGE lhs_, const T &vec_, STORAGE rhs_)
 
STORAGE operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, NA, Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > >
Clamp_Primitive_Vector_Primitive< RTYPE, NA, T > & get_ref ()
 
const Clamp_Primitive_Vector_Primitive< RTYPE, NA, 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 T & vec
 
OPERATOR op
 

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >

Definition at line 57 of file clamp.h.

Member Typedef Documentation

template<int RTYPE, bool NA, typename T>
typedef clamp_operator<RTYPE,NA> Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::OPERATOR

Definition at line 64 of file clamp.h.

template<int RTYPE, bool NA, typename T>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::STORAGE

Definition at line 63 of file clamp.h.

Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T>
Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::Clamp_Primitive_Vector_Primitive ( STORAGE  lhs_,
const T &  vec_,
STORAGE  rhs_ 
)
inline

Definition at line 66 of file clamp.h.

Member Function Documentation

template<int RTYPE, bool NA, typename T>
STORAGE Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::operator[] ( R_xlen_t  i) const
inline

Definition at line 68 of file clamp.h.

template<int RTYPE, bool NA, typename T>
R_xlen_t Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::size ( ) const
inline

Definition at line 71 of file clamp.h.

Member Data Documentation

template<int RTYPE, bool NA, typename T>
OPERATOR Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::op
private

Definition at line 75 of file clamp.h.

template<int RTYPE, bool NA, typename T>
const T& Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::vec
private

Definition at line 74 of file clamp.h.


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