Rcpp Version 1.0.9
Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS > Class Template Reference

#include <MatrixRow.h>

Collaboration diagram for Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >:

Public Types

typedef TRAITS::vector_iterator vector_iterator
 
typedef TRAITS::difference_type difference_type
 
typedef TRAITS::value_type value_type
 
typedef TRAITS::reference reference
 
typedef TRAITS::pointer pointer
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

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

Private Attributes

MatrixRowrow
 
int index
 

Detailed Description

template<int RTYPE>
template<typename TRAITS>
class Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >

Definition at line 62 of file MatrixRow.h.

Member Typedef Documentation

◆ difference_type

template<int RTYPE>
template<typename TRAITS >
typedef TRAITS::difference_type Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::difference_type

Definition at line 66 of file MatrixRow.h.

◆ iterator_category

template<int RTYPE>
template<typename TRAITS >
typedef std::random_access_iterator_tag Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::iterator_category

Definition at line 71 of file MatrixRow.h.

◆ pointer

template<int RTYPE>
template<typename TRAITS >
typedef TRAITS::pointer Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::pointer

Definition at line 69 of file MatrixRow.h.

◆ reference

template<int RTYPE>
template<typename TRAITS >
typedef TRAITS::reference Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::reference

Definition at line 68 of file MatrixRow.h.

◆ value_type

template<int RTYPE>
template<typename TRAITS >
typedef TRAITS::value_type Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::value_type

Definition at line 67 of file MatrixRow.h.

◆ vector_iterator

template<int RTYPE>
template<typename TRAITS >
typedef TRAITS::vector_iterator Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::vector_iterator

Definition at line 64 of file MatrixRow.h.

Constructor & Destructor Documentation

◆ iter_base() [1/2]

template<int RTYPE>
template<typename TRAITS >
Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::iter_base ( const iter_base< TRAITS > &  other)
inline

◆ iter_base() [2/2]

template<int RTYPE>
template<typename TRAITS >
Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::iter_base ( MatrixRow row_,
int  index_ 
)
inline

Definition at line 74 of file MatrixRow.h.

Member Function Documentation

◆ operator!=()

template<int RTYPE>
template<typename TRAITS >
bool Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator!= ( const iter_base< TRAITS > &  other)
inline

Definition at line 111 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator*()

template<int RTYPE>
template<typename TRAITS >
reference Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator* ( )
inline

◆ operator+()

template<int RTYPE>
template<typename TRAITS >
iter_base Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator+ ( difference_type  n) const
inline

◆ operator++() [1/2]

template<int RTYPE>
template<typename TRAITS >
iter_base& Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator++ ( )
inline

Definition at line 76 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator++() [2/2]

template<int RTYPE>
template<typename TRAITS >
iter_base Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator++ ( int  )
inline

Definition at line 80 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator+=()

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

Definition at line 100 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator-() [1/3]

template<int RTYPE>
template<typename TRAITS >
difference_type Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator- ( const iter_base< TRAITS > &  other)
inline

Definition at line 121 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator-() [2/3]

template<int RTYPE>
template<typename TRAITS >
difference_type Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator- ( const iter_base< TRAITS > &  other) const
inline

Definition at line 98 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator-() [3/3]

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

◆ operator--() [1/2]

template<int RTYPE>
template<typename TRAITS >
iter_base& Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator-- ( )
inline

Definition at line 86 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator--() [2/2]

template<int RTYPE>
template<typename TRAITS >
iter_base Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator-- ( int  )
inline

Definition at line 90 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator-=()

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

Definition at line 101 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator->()

template<int RTYPE>
template<typename TRAITS >
pointer Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator-> ( )
inline

◆ operator<()

template<int RTYPE>
template<typename TRAITS >
bool Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator< ( const iter_base< TRAITS > &  other)
inline

Definition at line 112 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator<=()

template<int RTYPE>
template<typename TRAITS >
bool Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator<= ( const iter_base< TRAITS > &  other)
inline

Definition at line 114 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator==()

template<int RTYPE>
template<typename TRAITS >
bool Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator== ( const iter_base< TRAITS > &  other)
inline

Definition at line 110 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator>()

template<int RTYPE>
template<typename TRAITS >
bool Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator> ( const iter_base< TRAITS > &  other)
inline

Definition at line 113 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator>=()

template<int RTYPE>
template<typename TRAITS >
bool Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::operator>= ( const iter_base< TRAITS > &  other)
inline

Definition at line 115 of file MatrixRow.h.

References Rcpp::MatrixRow< RTYPE >::iter_base< TRAITS >::index.

◆ operator[]()

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

Member Data Documentation

◆ index

◆ row


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