Rcpp Version 0.12.12
Rcpp::MatrixRow< RTYPE >::iterator Class Reference

#include <MatrixRow.h>

Collaboration diagram for Rcpp::MatrixRow< RTYPE >::iterator:

Public Types

typedef traits::r_vector_iterator< RTYPE >::type vector_iterator
 
typedef int difference_type
 
typedef traits::r_vector_proxy< RTYPE >::type value_type
 
typedef traits::r_vector_proxy< RTYPE >::type reference
 
typedef std::iterator_traits< vector_iterator >::pointer pointer
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

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

Private Attributes

MatrixRowrow
 
int index
 

Detailed Description

template<int RTYPE>
class Rcpp::MatrixRow< RTYPE >::iterator

Definition at line 36 of file MatrixRow.h.

Member Typedef Documentation

template<int RTYPE>
typedef int Rcpp::MatrixRow< RTYPE >::iterator::difference_type

Definition at line 40 of file MatrixRow.h.

template<int RTYPE>
typedef std::random_access_iterator_tag Rcpp::MatrixRow< RTYPE >::iterator::iterator_category

Definition at line 45 of file MatrixRow.h.

template<int RTYPE>
typedef std::iterator_traits<vector_iterator>::pointer Rcpp::MatrixRow< RTYPE >::iterator::pointer

Definition at line 43 of file MatrixRow.h.

template<int RTYPE>
typedef traits::r_vector_proxy<RTYPE>::type Rcpp::MatrixRow< RTYPE >::iterator::reference

Definition at line 42 of file MatrixRow.h.

template<int RTYPE>
typedef traits::r_vector_proxy<RTYPE>::type Rcpp::MatrixRow< RTYPE >::iterator::value_type

Definition at line 41 of file MatrixRow.h.

template<int RTYPE>
typedef traits::r_vector_iterator<RTYPE>::type Rcpp::MatrixRow< RTYPE >::iterator::vector_iterator

Definition at line 38 of file MatrixRow.h.

Constructor & Destructor Documentation

template<int RTYPE>
Rcpp::MatrixRow< RTYPE >::iterator::iterator ( MatrixRow row_,
int  index_ 
)
inline

Definition at line 48 of file MatrixRow.h.

Member Function Documentation

template<int RTYPE>
bool Rcpp::MatrixRow< RTYPE >::iterator::operator!= ( const iterator other)
inline

Definition at line 85 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
reference Rcpp::MatrixRow< RTYPE >::iterator::operator* ( )
inline
template<int RTYPE>
iterator Rcpp::MatrixRow< RTYPE >::iterator::operator+ ( difference_type  n) const
inline

Definition at line 70 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index, Rcpp::MatrixRow< RTYPE >::iterator::iterator(), and Rcpp::MatrixRow< RTYPE >::iterator::row.

Here is the call graph for this function:

template<int RTYPE>
iterator& Rcpp::MatrixRow< RTYPE >::iterator::operator++ ( )
inline

Definition at line 50 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
iterator Rcpp::MatrixRow< RTYPE >::iterator::operator++ ( int  )
inline

Definition at line 54 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
iterator& Rcpp::MatrixRow< RTYPE >::iterator::operator+= ( difference_type  n)
inline

Definition at line 74 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
iterator Rcpp::MatrixRow< RTYPE >::iterator::operator- ( difference_type  n) const
inline

Definition at line 71 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index, Rcpp::MatrixRow< RTYPE >::iterator::iterator(), and Rcpp::MatrixRow< RTYPE >::iterator::row.

Here is the call graph for this function:

template<int RTYPE>
difference_type Rcpp::MatrixRow< RTYPE >::iterator::operator- ( const iterator other) const
inline

Definition at line 72 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
difference_type Rcpp::MatrixRow< RTYPE >::iterator::operator- ( const iterator other)
inline

Definition at line 95 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
iterator& Rcpp::MatrixRow< RTYPE >::iterator::operator-- ( )
inline

Definition at line 60 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
iterator Rcpp::MatrixRow< RTYPE >::iterator::operator-- ( int  )
inline

Definition at line 64 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
iterator& Rcpp::MatrixRow< RTYPE >::iterator::operator-= ( difference_type  n)
inline

Definition at line 75 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
pointer Rcpp::MatrixRow< RTYPE >::iterator::operator-> ( )
inline
template<int RTYPE>
bool Rcpp::MatrixRow< RTYPE >::iterator::operator< ( const iterator other)
inline

Definition at line 86 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
bool Rcpp::MatrixRow< RTYPE >::iterator::operator<= ( const iterator other)
inline

Definition at line 88 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
bool Rcpp::MatrixRow< RTYPE >::iterator::operator== ( const iterator other)
inline

Definition at line 84 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
bool Rcpp::MatrixRow< RTYPE >::iterator::operator> ( const iterator other)
inline

Definition at line 87 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
bool Rcpp::MatrixRow< RTYPE >::iterator::operator>= ( const iterator other)
inline

Definition at line 89 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iterator::index.

template<int RTYPE>
reference Rcpp::MatrixRow< RTYPE >::iterator::operator[] ( int  i) const
inline

Member Data Documentation

template<int RTYPE>
int Rcpp::MatrixRow< RTYPE >::iterator::index
private

Definition at line 101 of file MatrixRow.h.

Referenced by Rcpp::MatrixRow< RTYPE >::iterator::operator!=(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator!=(), Rcpp::MatrixRow< RTYPE >::iterator::operator*(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator*(), Rcpp::MatrixRow< RTYPE >::iterator::operator+(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator+(), Rcpp::MatrixRow< RTYPE >::iterator::operator++(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator++(), Rcpp::MatrixRow< RTYPE >::iterator::operator+=(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator+=(), Rcpp::MatrixRow< RTYPE >::iterator::operator-(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator-(), Rcpp::MatrixRow< RTYPE >::iterator::operator--(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator--(), Rcpp::MatrixRow< RTYPE >::iterator::operator-=(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator-=(), Rcpp::MatrixRow< RTYPE >::iterator::operator->(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator->(), Rcpp::MatrixRow< RTYPE >::iterator::operator<(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator<(), Rcpp::MatrixRow< RTYPE >::iterator::operator<=(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator<=(), Rcpp::MatrixRow< RTYPE >::iterator::operator==(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator==(), Rcpp::MatrixRow< RTYPE >::iterator::operator>(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator>(), Rcpp::MatrixRow< RTYPE >::iterator::operator>=(), Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator>=(), Rcpp::MatrixRow< RTYPE >::iterator::operator[](), and Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator[]().


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