PPL
1.2
|
A read-only iterator over the rows of the matrix. More...
#include <DB_Matrix_defs.hh>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
typedef std::iterator_traits< Iter >::value_type | value_type |
typedef std::iterator_traits< Iter >::difference_type | difference_type |
typedef std::iterator_traits< Iter >::pointer | pointer |
typedef std::iterator_traits< Iter >::reference | reference |
Public Member Functions | |
const_iterator () | |
Default constructor. More... | |
const_iterator (const Iter &b) | |
Builds a const iterator on the matrix starting from an iterator b on the elements of the vector rows . More... | |
const_iterator (const const_iterator &y) | |
Ordinary copy constructor. More... | |
const_iterator & | operator= (const const_iterator &y) |
Assignment operator. More... | |
reference | operator* () const |
Dereference operator. More... | |
pointer | operator-> () const |
Indirect member selector. More... | |
const_iterator & | operator++ () |
Prefix increment operator. More... | |
const_iterator | operator++ (int) |
Postfix increment operator. More... | |
bool | operator== (const const_iterator &y) const |
Returns true if and only if *this and y are identical. More... | |
bool | operator!= (const const_iterator &y) const |
Returns true if and only if *this and y are different. More... | |
Private Types | |
typedef std::vector< DB_Row< T > >::const_iterator | Iter |
Private Attributes | |
Iter | i |
The const iterator on the rows' vector rows . More... | |
A read-only iterator over the rows of the matrix.
Definition at line 96 of file DB_Matrix_defs.hh.
typedef std::iterator_traits<Iter>::difference_type Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::difference_type |
Definition at line 106 of file DB_Matrix_defs.hh.
|
private |
Definition at line 98 of file DB_Matrix_defs.hh.
typedef std::forward_iterator_tag Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::iterator_category |
Definition at line 103 of file DB_Matrix_defs.hh.
typedef std::iterator_traits<Iter>::pointer Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::pointer |
Definition at line 107 of file DB_Matrix_defs.hh.
typedef std::iterator_traits<Iter>::reference Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::reference |
Definition at line 108 of file DB_Matrix_defs.hh.
typedef std::iterator_traits<Iter>::value_type Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::value_type |
Definition at line 104 of file DB_Matrix_defs.hh.
|
inline |
Default constructor.
Definition at line 64 of file DB_Matrix_inlines.hh.
|
inlineexplicit |
Builds a const iterator on the matrix starting from an iterator b
on the elements of the vector rows
.
Definition at line 70 of file DB_Matrix_inlines.hh.
|
inline |
Ordinary copy constructor.
Definition at line 76 of file DB_Matrix_inlines.hh.
|
inline |
Returns true
if and only if *this
and y
are different.
Definition at line 120 of file DB_Matrix_inlines.hh.
References Parma_Polyhedra_Library::DB_Matrix< T >::operator==().
|
inline |
Dereference operator.
Definition at line 89 of file DB_Matrix_inlines.hh.
|
inline |
Prefix increment operator.
Definition at line 101 of file DB_Matrix_inlines.hh.
|
inline |
Postfix increment operator.
Definition at line 108 of file DB_Matrix_inlines.hh.
|
inline |
Indirect member selector.
Definition at line 95 of file DB_Matrix_inlines.hh.
|
inline |
Assignment operator.
Definition at line 82 of file DB_Matrix_inlines.hh.
References Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::i.
|
inline |
Returns true
if and only if *this
and y
are identical.
Definition at line 114 of file DB_Matrix_inlines.hh.
References Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::i.
|
private |
The const iterator on the rows' vector rows
.
Definition at line 100 of file DB_Matrix_defs.hh.
Referenced by Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::operator=(), and Parma_Polyhedra_Library::DB_Matrix< T >::const_iterator::operator==().