Rcpp Version 0.12.12
Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator Class Reference

#include <VectorBase.h>

Public Types

typedef stored_type reference
 
typedef stored_typepointer
 
typedef R_xlen_t difference_type
 
typedef stored_type value_type
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

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

Private Attributes

const VECTOR & object
 
R_xlen_t index
 

Detailed Description

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

Definition at line 51 of file VectorBase.h.

Member Typedef Documentation

template<int RTYPE, bool na, typename VECTOR>
typedef R_xlen_t Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::difference_type

Definition at line 55 of file VectorBase.h.

template<int RTYPE, bool na, typename VECTOR>
typedef std::random_access_iterator_tag Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::iterator_category

Definition at line 57 of file VectorBase.h.

template<int RTYPE, bool na, typename VECTOR>
typedef stored_type* Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::pointer

Definition at line 54 of file VectorBase.h.

template<int RTYPE, bool na, typename VECTOR>
typedef stored_type Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::reference

Definition at line 53 of file VectorBase.h.

template<int RTYPE, bool na, typename VECTOR>
typedef stored_type Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::value_type

Definition at line 56 of file VectorBase.h.

Constructor & Destructor Documentation

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

Definition at line 59 of file VectorBase.h.

template<int RTYPE, bool na, typename VECTOR>
Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::iterator ( const iterator other)
inline

Definition at line 60 of file VectorBase.h.

Member Function Documentation

template<int RTYPE, bool na, typename VECTOR>
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator!= ( const iterator y) const
inline
template<int RTYPE, bool na, typename VECTOR>
reference Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator* ( )
inline

Definition at line 102 of file VectorBase.h.

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

Definition at line 82 of file VectorBase.h.

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

Definition at line 62 of file VectorBase.h.

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

Definition at line 66 of file VectorBase.h.

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

Definition at line 89 of file VectorBase.h.

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

Definition at line 85 of file VectorBase.h.

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

Definition at line 72 of file VectorBase.h.

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

Definition at line 76 of file VectorBase.h.

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

Definition at line 93 of file VectorBase.h.

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

Definition at line 105 of file VectorBase.h.

template<int RTYPE, bool na, typename VECTOR>
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator< ( const iterator other) const
inline
template<int RTYPE, bool na, typename VECTOR>
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator<= ( const iterator other) const
inline
template<int RTYPE, bool na, typename VECTOR>
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator== ( const iterator y) const
inline
template<int RTYPE, bool na, typename VECTOR>
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator> ( const iterator other) const
inline
template<int RTYPE, bool na, typename VECTOR>
bool Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator>= ( const iterator other) const
inline
template<int RTYPE, bool na, typename VECTOR>
reference Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator[] ( R_xlen_t  i)
inline

Definition at line 98 of file VectorBase.h.

Member Data Documentation

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

Definition at line 134 of file VectorBase.h.


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