AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T > Class Template Reference

This is a full random access iterator for accessing row and colunmn indices. More...

#include <AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp>

List of all members.

Public Types

typedef T index_type
 
typedef std::random_access_iterator_tag iterator_category
 
typedef external_row_col_value_type<
T > 
value_type
 
typedef row_col_value_type<
T > & 
reference
 
typedef row_col_value_type<
T > * 
pointer
 
typedef ptrdiff_t difference_type
 

Public Member Functions

 row_col_iterator ()
 Null pointer!
 row_col_iterator (difference_type row_off, difference_type col_off, index_type row_i[], index_type col_j[], size_type nz)
 
row_col_iterator< T > & operator= (const row_col_iterator< T > &itr)
 
reference operator * ()
 
reference operator * () const
 
pointer operator-> () const
 
row_col_iterator< T > operator+ (difference_type)
 itr + a
row_col_iterator< T > operator- (difference_type)
 itr - a
row_col_iterator< T > & operator+= (difference_type)
 itr += a
row_col_iterator< T > & operator-= (difference_type)
 itr -= a
row_col_iterator< T > & operator++ ()
 ++itr
const row_col_iterator< T > operator++ (int)
 itr++
row_col_iterator< T > & operator-- ()
 --itr
const row_col_iterator< T > operator-- (int)
 itr--
difference_type operator- (const row_col_iterator< T > &itr) const
 Difference.
bool operator< (const row_col_iterator< T > &itr) const
 itr1 < itr2
bool operator<= (const row_col_iterator< T > &itr) const
 itr1 <= itr2
bool operator> (const row_col_iterator< T > &itr) const
 itr1 > itr 2
bool operator>= (const row_col_iterator< T > &itr) const
 itr1 >= itr2
bool operator== (const row_col_iterator< T > &itr) const
 itr1 == itr2
bool operator!= (const row_col_iterator< T > &itr) const
 itr1 != itr2
bool operator! () const
 !itr (check for null)


Detailed Description

template<class T>
class AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >

This is a full random access iterator for accessing row and colunmn indices.

Definition at line 145 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.


Member Typedef Documentation

template<class T>
typedef T AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::index_type

Definition at line 152 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
typedef std::random_access_iterator_tag AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::iterator_category

Definition at line 154 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
typedef external_row_col_value_type<T> AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::value_type

Definition at line 156 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
typedef row_col_value_type<T>& AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::reference

Definition at line 158 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
typedef row_col_value_type<T>* AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::pointer

Definition at line 160 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
typedef ptrdiff_t AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::difference_type

Definition at line 162 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.


Constructor & Destructor Documentation

template<class T>
AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::row_col_iterator (  )  [inline]

Null pointer!

Definition at line 310 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::row_col_iterator ( difference_type  row_off,
difference_type  col_off,
index_type  row_i[],
index_type  col_j[],
size_type  nz 
) [inline]

Definition at line 317 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.


Member Function Documentation

template<class T>
row_col_iterator< T > & AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator= ( const row_col_iterator< T > &  itr  )  [inline]

Definition at line 330 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T >::reference AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator * (  )  [inline]

Definition at line 339 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T >::reference AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator * (  )  const [inline]

Definition at line 349 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T >::pointer AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator-> (  )  const [inline]

Definition at line 358 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T > AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator+ ( difference_type   )  [inline]

itr + a

Definition at line 367 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T > AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator- ( difference_type   )  [inline]

itr - a

Definition at line 377 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T > & AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator+= ( difference_type   )  [inline]

itr += a

Definition at line 387 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T > & AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator-= ( difference_type   )  [inline]

itr -= a

Definition at line 396 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T > & AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator++ (  )  [inline]

++itr

Definition at line 405 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
const row_col_iterator< T > AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator++ ( int   )  [inline]

itr++

Definition at line 414 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T > & AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator-- (  )  [inline]

--itr

Definition at line 424 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
const row_col_iterator< T > AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator-- ( int   )  [inline]

itr--

Definition at line 433 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
row_col_iterator< T >::difference_type AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator- ( const row_col_iterator< T > &  itr  )  const [inline]

Difference.

Definition at line 443 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator< ( const row_col_iterator< T > &  itr  )  const [inline]

itr1 < itr2

Definition at line 450 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator<= ( const row_col_iterator< T > &  itr  )  const [inline]

itr1 <= itr2

Definition at line 458 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator> ( const row_col_iterator< T > &  itr  )  const [inline]

itr1 > itr 2

Definition at line 466 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator>= ( const row_col_iterator< T > &  itr  )  const [inline]

itr1 >= itr2

Definition at line 474 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator== ( const row_col_iterator< T > &  itr  )  const [inline]

itr1 == itr2

Definition at line 482 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator!= ( const row_col_iterator< T > &  itr  )  const [inline]

itr1 != itr2

Definition at line 490 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

template<class T>
bool AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator! (  )  const [inline]

!itr (check for null)

Definition at line 498 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:29:08 2010 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.4.7