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


Public Types | |
| typedef Rcpp::VectorBase < RTYPE, LHS_NA, LHS_T > | LHS_TYPE |
| typedef Rcpp::traits::storage_type < RTYPE >::type | STORAGE |
Public Member Functions | |
| Diff (const LHS_TYPE &lhs_) | |
| STORAGE | operator[] (int i) const |
| int | size () const |
Private Attributes | |
| const LHS_TYPE & | lhs |
| STORAGE | previous |
| 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 |
| Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::Diff | ( | const LHS_TYPE & | lhs_ | ) | [inline] |
Definition at line 37 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous, and Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::was_na.
| STORAGE Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::operator[] | ( | int | i | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, LHS_NA, Diff< RTYPE, LHS_NA, LHS_T > >.
Definition at line 41 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 >::was_na, and y.
| int Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::size | ( | ) | const [inline] |
Reimplemented from Rcpp::VectorBase< RTYPE, LHS_NA, Diff< RTYPE, LHS_NA, LHS_T > >.
Definition at line 58 of file diff.h.
References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

const LHS_TYPE& Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs [private] |
Definition at line 61 of file diff.h.
Referenced by Rcpp::sugar::Diff< RTYPE, false, LHS_T >::operator[](), Rcpp::sugar::Diff< REALSXP, LHS_NA, LHS_T >::operator[](), Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::operator[](), Rcpp::sugar::Diff< RTYPE, false, LHS_T >::size(), Rcpp::sugar::Diff< REALSXP, LHS_NA, LHS_T >::size(), and Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::size().
STORAGE Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::previous [mutable, private] |
bool Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::was_na [mutable, private] |
Definition at line 63 of file diff.h.
Referenced by Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::Diff(), and Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::operator[]().