AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | List of all members
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>

Public Types

typedef T index_type
 
typedef
std::random_access_iterator_tag 
iterator_category
 
typedef 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! More...
 
 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) const
 itr + a More...
 
row_col_iterator< T > operator- (difference_type)
 itr - a More...
 
row_col_iterator< T > & operator+= (difference_type)
 itr += a More...
 
row_col_iterator< T > & operator-= (difference_type)
 itr -= a More...
 
row_col_iterator< T > & operator++ ()
 ++itr More...
 
const row_col_iterator< T > operator++ (int)
 itr++ More...
 
row_col_iterator< T > & operator-- ()
 –itr More...
 
const row_col_iterator< T > operator-- (int)
 itr– More...
 
difference_type operator- (const row_col_iterator< T > &itr) const
 Difference. More...
 
bool operator< (const row_col_iterator< T > &itr) const
 itr1 < itr2 More...
 
bool operator<= (const row_col_iterator< T > &itr) const
 itr1 <= itr2 More...
 
bool operator> (const row_col_iterator< T > &itr) const
 itr1 > itr 2 More...
 
bool operator>= (const row_col_iterator< T > &itr) const
 itr1 >= itr2 More...
 
bool operator== (const row_col_iterator< T > &itr) const
 itr1 == itr2 More...
 
bool operator!= (const row_col_iterator< T > &itr) const
 itr1 != itr2 More...
 
bool operator! () const
 !itr (check for null) More...
 

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 158 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

Member Typedef Documentation

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

Constructor & Destructor Documentation

Null pointer!

Definition at line 323 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
template<class T >
row_col_iterator< T >::reference AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator* ( ) const
inline
template<class T >
row_col_iterator< T >::pointer AbstractLinAlgPack::GenPermMatrixSliceIteratorPack::row_col_iterator< T >::operator-> ( ) const
inline

itr + a

Definition at line 380 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

itr - a

Definition at line 390 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

itr += a

Definition at line 400 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

itr -= a

Definition at line 409 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

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

++itr

Definition at line 418 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 427 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.

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

–itr

Definition at line 437 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 446 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 456 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 463 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 471 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 479 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 487 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 495 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 503 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 511 of file AbstractLinAlgPack_GenPermMatrixSliceIterator.hpp.


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