Rcpp Version 0.12.12
Rcpp::sugar::clamp_operator< RTYPE, NA > Struct Template Reference

#include <clamp.h>

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 

Public Member Functions

 clamp_operator (STORAGE lhs_, STORAGE rhs_)
 
STORAGE operator() (STORAGE x) const
 

Public Attributes

STORAGE lhs
 
STORAGE rhs
 

Detailed Description

template<int RTYPE, bool NA>
struct Rcpp::sugar::clamp_operator< RTYPE, NA >

Definition at line 29 of file clamp.h.

Member Typedef Documentation

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

Definition at line 30 of file clamp.h.

Constructor & Destructor Documentation

template<int RTYPE, bool NA>
Rcpp::sugar::clamp_operator< RTYPE, NA >::clamp_operator ( STORAGE  lhs_,
STORAGE  rhs_ 
)
inline

Definition at line 32 of file clamp.h.

Member Function Documentation

template<int RTYPE, bool NA>
STORAGE Rcpp::sugar::clamp_operator< RTYPE, NA >::operator() ( STORAGE  x) const
inline

Definition at line 34 of file clamp.h.

References Rcpp::sugar::clamp_operator< RTYPE, NA >::rhs.

Member Data Documentation

template<int RTYPE, bool NA>
STORAGE Rcpp::sugar::clamp_operator< RTYPE, NA >::lhs

Definition at line 37 of file clamp.h.

Referenced by Rcpp::clamp().


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