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

#include <MatrixRow.h>

Collaboration diagram for MatrixRow< RTYPE >::iterator:

List of all members.

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 (MatrixRow &row_, int index_)
iteratoroperator++ ()
iteratoroperator++ (int)
iteratoroperator-- ()
iteratoroperator-- (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)
difference_type operator- (const iterator &other)

Private Attributes

MatrixRowrow
int index

Detailed Description

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

Definition at line 33 of file MatrixRow.h.


Member Typedef Documentation

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

Definition at line 37 of file MatrixRow.h.

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

Definition at line 42 of file MatrixRow.h.

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

Definition at line 40 of file MatrixRow.h.

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

Definition at line 39 of file MatrixRow.h.

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

Definition at line 38 of file MatrixRow.h.

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

Definition at line 35 of file MatrixRow.h.


Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 79 of file MatrixRow.h.

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

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

Definition at line 64 of file MatrixRow.h.

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

Here is the call graph for this function:

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

Definition at line 46 of file MatrixRow.h.

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

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

Definition at line 50 of file MatrixRow.h.

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

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

Definition at line 68 of file MatrixRow.h.

References MatrixRow< RTYPE >::iterator::index, and n.

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

Definition at line 89 of file MatrixRow.h.

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

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

Definition at line 65 of file MatrixRow.h.

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

Here is the call graph for this function:

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

Definition at line 66 of file MatrixRow.h.

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

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

Definition at line 59 of file MatrixRow.h.

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

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

Definition at line 55 of file MatrixRow.h.

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

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

Definition at line 69 of file MatrixRow.h.

References MatrixRow< RTYPE >::iterator::index, and n.

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

Definition at line 80 of file MatrixRow.h.

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

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

Definition at line 82 of file MatrixRow.h.

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

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

Definition at line 78 of file MatrixRow.h.

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

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

Definition at line 81 of file MatrixRow.h.

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

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

Definition at line 83 of file MatrixRow.h.

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

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

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines