Rcpp Version 0.12.12
Rcpp::ConstMatrixRow< RTYPE >::const_iterator Class Reference

#include <MatrixRow.h>

Collaboration diagram for Rcpp::ConstMatrixRow< RTYPE >::const_iterator:

Public Types

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

Public Member Functions

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

Private Attributes

const ConstMatrixRowrow
 
int index
 

Detailed Description

template<int RTYPE>
class Rcpp::ConstMatrixRow< RTYPE >::const_iterator

Definition at line 185 of file MatrixRow.h.

Member Typedef Documentation

template<int RTYPE>
typedef int Rcpp::ConstMatrixRow< RTYPE >::const_iterator::difference_type

Definition at line 189 of file MatrixRow.h.

template<int RTYPE>
typedef std::random_access_iterator_tag Rcpp::ConstMatrixRow< RTYPE >::const_iterator::iterator_category

Definition at line 194 of file MatrixRow.h.

template<int RTYPE>
typedef std::iterator_traits<vector_iterator>::pointer Rcpp::ConstMatrixRow< RTYPE >::const_iterator::pointer

Definition at line 192 of file MatrixRow.h.

template<int RTYPE>
typedef traits::r_vector_const_proxy<RTYPE>::type Rcpp::ConstMatrixRow< RTYPE >::const_iterator::reference

Definition at line 191 of file MatrixRow.h.

template<int RTYPE>
typedef traits::r_vector_const_proxy<RTYPE>::type Rcpp::ConstMatrixRow< RTYPE >::const_iterator::value_type

Definition at line 190 of file MatrixRow.h.

template<int RTYPE>
typedef traits::r_vector_iterator<RTYPE>::type Rcpp::ConstMatrixRow< RTYPE >::const_iterator::vector_iterator

Definition at line 187 of file MatrixRow.h.

Constructor & Destructor Documentation

template<int RTYPE>
Rcpp::ConstMatrixRow< RTYPE >::const_iterator::const_iterator ( const const_iterator other)
inline

Definition at line 196 of file MatrixRow.h.

template<int RTYPE>
Rcpp::ConstMatrixRow< RTYPE >::const_iterator::const_iterator ( const ConstMatrixRow row_,
int  index_ 
)
inline

Definition at line 197 of file MatrixRow.h.

Member Function Documentation

template<int RTYPE>
bool Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator!= ( const const_iterator other)
inline
template<int RTYPE>
const reference Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator* ( )
inline
template<int RTYPE>
const_iterator Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator+ ( difference_type  n) const
inline

Definition at line 219 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>
const_iterator& Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator++ ( )
inline

Definition at line 199 of file MatrixRow.h.

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

template<int RTYPE>
const_iterator Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator++ ( int  )
inline

Definition at line 203 of file MatrixRow.h.

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

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

Definition at line 223 of file MatrixRow.h.

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

template<int RTYPE>
const_iterator Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator- ( difference_type  n) const
inline

Definition at line 220 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::ConstMatrixRow< RTYPE >::const_iterator::operator- ( const const_iterator other) const
inline
template<int RTYPE>
difference_type Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator- ( const const_iterator other)
inline
template<int RTYPE>
const_iterator& Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator-- ( )
inline

Definition at line 209 of file MatrixRow.h.

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

template<int RTYPE>
const_iterator Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator-- ( int  )
inline

Definition at line 213 of file MatrixRow.h.

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

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

Definition at line 224 of file MatrixRow.h.

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

template<int RTYPE>
const pointer Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator-> ( )
inline
template<int RTYPE>
bool Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator< ( const const_iterator other)
inline
template<int RTYPE>
bool Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator<= ( const const_iterator other)
inline
template<int RTYPE>
bool Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator== ( const const_iterator other)
inline
template<int RTYPE>
bool Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator> ( const const_iterator other)
inline
template<int RTYPE>
bool Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator>= ( const const_iterator other)
inline
template<int RTYPE>
const reference Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator[] ( int  i) const
inline

Member Data Documentation

template<int RTYPE>
const ConstMatrixRow& Rcpp::ConstMatrixRow< RTYPE >::const_iterator::row
private

Definition at line 249 of file MatrixRow.h.


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