Rcpp Version 1.0.9
Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS > Class Template Reference

#include <VectorBase.h>

Public Types

typedef TRAITS::reference reference
 
typedef TRAITS::pointer pointer
 
typedef TRAITS::difference_type difference_type
 
typedef TRAITS::value_type value_type
 
typedef TRAITS::iterator_category iterator_category
 

Public Member Functions

 iter_base (const VectorBase &object_, R_xlen_t index_)
 
iter_baseoperator++ ()
 
iter_base operator++ (int)
 
iter_baseoperator-- ()
 
iter_base operator-- (int)
 
iter_base operator+ (difference_type n) const
 
iter_base operator- (difference_type n) const
 
iter_baseoperator+= (difference_type n)
 
iter_baseoperator-= (difference_type n)
 
reference operator[] (R_xlen_t i)
 
reference operator* ()
 
pointer operator-> ()
 
bool operator== (const iter_base &y) const
 
bool operator!= (const iter_base &y) const
 
bool operator< (const iter_base &other) const
 
bool operator> (const iter_base &other) const
 
bool operator<= (const iter_base &other) const
 
bool operator>= (const iter_base &other) const
 
difference_type operator- (const iter_base &other) const
 

Private Attributes

const VECTOR & object
 
R_xlen_t index
 

Detailed Description

template<int RTYPE, bool na, typename VECTOR>
template<typename TRAITS>
class Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >

Definition at line 75 of file VectorBase.h.

Member Typedef Documentation

◆ difference_type

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
typedef TRAITS::difference_type Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::difference_type

Definition at line 79 of file VectorBase.h.

◆ iterator_category

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
typedef TRAITS::iterator_category Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::iterator_category

Definition at line 81 of file VectorBase.h.

◆ pointer

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
typedef TRAITS::pointer Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::pointer

Definition at line 78 of file VectorBase.h.

◆ reference

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
typedef TRAITS::reference Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::reference

Definition at line 77 of file VectorBase.h.

◆ value_type

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
typedef TRAITS::value_type Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::value_type

Definition at line 80 of file VectorBase.h.

Constructor & Destructor Documentation

◆ iter_base()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::iter_base ( const VectorBase object_,
R_xlen_t  index_ 
)
inline

Definition at line 83 of file VectorBase.h.

Member Function Documentation

◆ operator!=()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator!= ( const iter_base< TRAITS > &  y) const
inline

◆ operator*()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
reference Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator* ( )
inline

◆ operator+()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator+ ( difference_type  n) const
inline

◆ operator++() [1/2]

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base& Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator++ ( )
inline

◆ operator++() [2/2]

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator++ ( int  )
inline

Definition at line 89 of file VectorBase.h.

◆ operator+=()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base& Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator+= ( difference_type  n)
inline

◆ operator-() [1/2]

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
difference_type Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator- ( const iter_base< TRAITS > &  other) const
inline

◆ operator-() [2/2]

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator- ( difference_type  n) const
inline

◆ operator--() [1/2]

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base& Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator-- ( )
inline

◆ operator--() [2/2]

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator-- ( int  )
inline

Definition at line 99 of file VectorBase.h.

◆ operator-=()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
iter_base& Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator-= ( difference_type  n)
inline

◆ operator->()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
pointer Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator-> ( )
inline

◆ operator<()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator< ( const iter_base< TRAITS > &  other) const
inline

◆ operator<=()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator<= ( const iter_base< TRAITS > &  other) const
inline

◆ operator==()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator== ( const iter_base< TRAITS > &  y) const
inline

◆ operator>()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator> ( const iter_base< TRAITS > &  other) const
inline

◆ operator>=()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator>= ( const iter_base< TRAITS > &  other) const
inline

◆ operator[]()

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
reference Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::operator[] ( R_xlen_t  i)
inline

Member Data Documentation

◆ index

◆ object

template<int RTYPE, bool na, typename VECTOR >
template<typename TRAITS >
const VECTOR& Rcpp::VectorBase< RTYPE, na, VECTOR >::iter_base< TRAITS >::object
private

Definition at line 157 of file VectorBase.h.


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