Rcpp Version 1.0.9
|
#include <clamp.h>
Public Types | |
typedef Rcpp::traits::storage_type< RTYPE >::type | STORAGE |
typedef clamp_operator< RTYPE, NA > | OPERATOR |
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 iter_base< iter_traits > | iterator |
typedef iter_base< const_iter_traits > | 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 |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
Private Attributes | |
const T & | vec |
OPERATOR | op |
typedef clamp_operator<RTYPE,NA> Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::OPERATOR |
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::STORAGE |
|
inline |
|
inline |
Definition at line 68 of file clamp.h.
References Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::op, and Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::vec.
|
inline |
Definition at line 71 of file clamp.h.
References Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::vec.
|
private |
Definition at line 75 of file clamp.h.
Referenced by Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::operator[]().
|
private |
Definition at line 74 of file clamp.h.
Referenced by Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::operator[](), and Rcpp::sugar::Clamp_Primitive_Vector_Primitive< RTYPE, NA, T >::size().