|
Rcpp Version 1.0.14
|
#include <diff.h>


Public Types | |
| typedef Rcpp::VectorBase< RTYPE, LHS_NA, LHS_T > | LHS_TYPE |
| typedef Rcpp::traits::storage_type< RTYPE >::type | STORAGE |
Public Types inherited from Rcpp::VectorBase< RTYPE, LHS_NA, Diff< RTYPE, LHS_NA, LHS_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 | |
| Diff (const LHS_TYPE &lhs_) | |
| STORAGE | operator[] (R_xlen_t i) const |
| void | set_previous (R_xlen_t i, STORAGE value) const |
| R_xlen_t | size () const |
Public Member Functions inherited from Rcpp::VectorBase< RTYPE, LHS_NA, Diff< RTYPE, LHS_NA, LHS_T > > | |
| Diff< RTYPE, LHS_NA, LHS_T > & | get_ref () |
| const Diff< RTYPE, LHS_NA, LHS_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 LHS_TYPE & | lhs |
| STORAGE | previous |
| R_xlen_t | previous_index |
| bool | was_na |
| typedef Rcpp::VectorBase<RTYPE,LHS_NA,LHS_T> Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::LHS_TYPE |
| typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::STORAGE |
|
inline |
|
inline |
Definition at line 44 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous, Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous_index, Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::set_previous(), and Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::was_na.

|
inline |
Definition at line 59 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous, Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous_index, and Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::was_na.
Referenced by Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::operator[]().
|
inline |
Definition at line 65 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

|
private |
Definition at line 68 of file diff.h.
Referenced by Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::operator[](), Rcpp::sugar::Diff< REALSXP, LHS_NA, LHS_T >::operator[](), Rcpp::sugar::Diff< RTYPE, false, LHS_T >::operator[](), Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::size(), Rcpp::sugar::Diff< REALSXP, LHS_NA, LHS_T >::size(), and Rcpp::sugar::Diff< RTYPE, false, LHS_T >::size().
|
mutableprivate |
|
mutableprivate |
|
mutableprivate |
Definition at line 71 of file diff.h.
Referenced by Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::operator[](), and Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::set_previous().