Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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

Definition at line 135 of file VectorBase.h.

◆ operator*()

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

Definition at line 125 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) const
inline

Definition at line 105 of file VectorBase.h.

◆ 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

Definition at line 85 of file VectorBase.h.

◆ 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

Definition at line 112 of file VectorBase.h.

◆ 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

Definition at line 151 of file VectorBase.h.

◆ 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

Definition at line 108 of file VectorBase.h.

◆ 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

Definition at line 95 of file VectorBase.h.

◆ 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

Definition at line 116 of file VectorBase.h.

◆ operator->()

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

Definition at line 128 of file VectorBase.h.

◆ 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

Definition at line 138 of file VectorBase.h.

◆ 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

Definition at line 144 of file VectorBase.h.

◆ 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

Definition at line 132 of file VectorBase.h.

◆ 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

Definition at line 141 of file VectorBase.h.

◆ 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

Definition at line 147 of file VectorBase.h.

◆ 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

Definition at line 121 of file VectorBase.h.

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: