Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
Rcpp::sugar::Diff< RTYPE, false, LHS_T > Class Template Reference

#include <diff.h>

Inheritance diagram for Rcpp::sugar::Diff< RTYPE, false, LHS_T >:
Collaboration diagram for Rcpp::sugar::Diff< RTYPE, false, LHS_T >:

Public Types

typedef Rcpp::VectorBase
< RTYPE, false, LHS_T > 
LHS_TYPE
typedef
Rcpp::traits::storage_type
< RTYPE >::type 
STORAGE
- Public Types inherited from Rcpp::VectorBase< RTYPE, false, Diff< RTYPE, false, LHS_T > >
typedef traits::storage_type
< RTYPE >::type 
stored_type
typedef traits::storage_type
< RTYPE >::type 
elem_type

Public Member Functions

 Diff (const LHS_TYPE &lhs_)
STORAGE operator[] (int i) const
int size () const
- Public Member Functions inherited from Rcpp::VectorBase< RTYPE, false, Diff< RTYPE, false, LHS_T > >
Diff< RTYPE, false, LHS_T > & get_ref ()
const Diff< RTYPE, false, LHS_T > & get_ref () const
iterator begin () const
iterator end () const

Private Attributes

const LHS_TYPElhs
STORAGE previous

Detailed Description

template<int RTYPE, typename LHS_T>
class Rcpp::sugar::Diff< RTYPE, false, LHS_T >

Definition at line 87 of file diff.h.

Member Typedef Documentation

template<int RTYPE, typename LHS_T >
typedef Rcpp::VectorBase<RTYPE,false,LHS_T> Rcpp::sugar::Diff< RTYPE, false, LHS_T >::LHS_TYPE

Definition at line 89 of file diff.h.

template<int RTYPE, typename LHS_T >
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Diff< RTYPE, false, LHS_T >::STORAGE

Definition at line 90 of file diff.h.

Constructor & Destructor Documentation

template<int RTYPE, typename LHS_T >
Rcpp::sugar::Diff< RTYPE, false, LHS_T >::Diff ( const LHS_TYPE lhs_)
inline

Definition at line 92 of file diff.h.

Member Function Documentation

template<int RTYPE, typename LHS_T >
STORAGE Rcpp::sugar::Diff< RTYPE, false, LHS_T >::operator[] ( int  i) const
inline
template<int RTYPE, typename LHS_T >
int Rcpp::sugar::Diff< RTYPE, false, LHS_T >::size ( ) const
inline

Reimplemented from Rcpp::VectorBase< RTYPE, false, Diff< RTYPE, false, LHS_T > >.

Definition at line 100 of file diff.h.

References Rcpp::sugar::Diff< RTYPE, LHS_NA, LHS_T >::lhs, and Rcpp::VectorBase< RTYPE, na, VECTOR >::size().

Here is the call graph for this function:

Member Data Documentation

template<int RTYPE, typename LHS_T >
const LHS_TYPE& Rcpp::sugar::Diff< RTYPE, false, LHS_T >::lhs
private

Definition at line 103 of file diff.h.

template<int RTYPE, typename LHS_T >
STORAGE Rcpp::sugar::Diff< RTYPE, false, LHS_T >::previous
mutableprivate

Definition at line 104 of file diff.h.


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