Rcpp Version 0.10.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros
Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator Class Reference

#include <VectorBase.h>

Public Types

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

Public Member Functions

 iterator (const VectorBase &object_, int 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[] (int 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
int 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 int 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_,
int  index_ 
)
inline
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
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.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::index, and Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::iterator().

Here is the call graph for this function:

template<int RTYPE, bool na, typename VECTOR>
iterator& Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator++ ( )
inline
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.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::index, and n.

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.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::index, and Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::iterator().

Here is the call graph for this function:

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
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.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::index, and n.

template<int RTYPE, bool na, typename VECTOR>
pointer Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::operator-> ( )
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>
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[] ( int  i)
inline

Definition at line 98 of file VectorBase.h.

References i, and Rcpp::VectorBase< RTYPE, na, VECTOR >::iterator::index.

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: