Rcpp Version 0.12.14
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 222 of file MatrixRow.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 226 of file MatrixRow.h.

◆ iterator_category

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

Definition at line 231 of file MatrixRow.h.

◆ pointer

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

Definition at line 229 of file MatrixRow.h.

◆ reference

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

Definition at line 228 of file MatrixRow.h.

◆ value_type

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

Definition at line 227 of file MatrixRow.h.

◆ vector_iterator

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

Definition at line 224 of file MatrixRow.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

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

Definition at line 233 of file MatrixRow.h.

◆ const_iterator() [2/2]

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

Definition at line 234 of file MatrixRow.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 271 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator*()

template<int RTYPE>
const reference Rcpp::ConstMatrixRow< RTYPE >::const_iterator::operator* ( )
inline

Definition at line 263 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::row.

◆ operator+()

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

Definition at line 256 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::row.

◆ operator++() [1/2]

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

Definition at line 236 of file MatrixRow.h.

◆ operator++() [2/2]

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

Definition at line 240 of file MatrixRow.h.

◆ operator+=()

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

Definition at line 260 of file MatrixRow.h.

◆ operator-() [1/3]

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

Definition at line 257 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::row.

◆ operator-() [2/3]

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

Definition at line 258 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator-() [3/3]

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

Definition at line 281 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator--() [1/2]

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

Definition at line 246 of file MatrixRow.h.

◆ operator--() [2/2]

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

Definition at line 250 of file MatrixRow.h.

◆ operator-=()

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

Definition at line 261 of file MatrixRow.h.

◆ operator->()

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

Definition at line 266 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::row.

◆ operator<()

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

Definition at line 272 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator<=()

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

Definition at line 274 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator==()

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

Definition at line 270 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator>()

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

Definition at line 273 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator>=()

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

Definition at line 275 of file MatrixRow.h.

References Rcpp::ConstMatrixRow< RTYPE >::const_iterator::index.

◆ operator[]()

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

Definition at line 277 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::row.

Member Data Documentation

◆ index

◆ row

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

Definition at line 286 of file MatrixRow.h.


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