PPL
1.2
|
An iterator over a system of congruences. More...
#include <Congruence_System_defs.hh>
Public Member Functions | |
const_iterator () | |
Default constructor. More... | |
const_iterator (const const_iterator &y) | |
Ordinary copy constructor. More... | |
~const_iterator () | |
Destructor. More... | |
const_iterator & | operator= (const const_iterator &y) |
Assignment operator. More... | |
const Congruence & | operator* () const |
Dereference operator. More... | |
const Congruence * | 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 Member Functions | |
const_iterator (const Swapping_Vector< Congruence >::const_iterator &iter, const Congruence_System &cgs) | |
Constructor. More... | |
void | skip_forward () |
*this skips to the next non-trivial congruence. More... | |
Private Attributes | |
Swapping_Vector< Congruence >::const_iterator | i |
The const iterator over the vector of congruences. More... | |
const Swapping_Vector< Congruence > * | csp |
A const pointer to the vector of congruences. More... | |
Friends | |
class | Congruence_System |
An iterator over a system of congruences.
A const_iterator is used to provide read-only access to each congruence contained in an object of Congruence_System.
gr
: Definition at line 250 of file Congruence_System_defs.hh.
|
inline |
Default constructor.
Definition at line 168 of file Congruence_System_inlines.hh.
|
inline |
Ordinary copy constructor.
Definition at line 173 of file Congruence_System_inlines.hh.
|
inline |
|
inlineprivate |
Constructor.
Definition at line 224 of file Congruence_System_inlines.hh.
|
inline |
Returns true
if and only if *this
and y
are different.
Definition at line 218 of file Congruence_System_inlines.hh.
References i.
|
inline |
Dereference operator.
Definition at line 189 of file Congruence_System_inlines.hh.
|
inline |
Prefix increment operator.
Definition at line 199 of file Congruence_System_inlines.hh.
|
inline |
Postfix increment operator.
Definition at line 206 of file Congruence_System_inlines.hh.
|
inline |
Indirect member selector.
Definition at line 194 of file Congruence_System_inlines.hh.
|
inline |
Assignment operator.
Definition at line 182 of file Congruence_System_inlines.hh.
|
inline |
Returns true
if and only if *this
and y
are identical.
Definition at line 213 of file Congruence_System_inlines.hh.
References i.
|
private |
*this
skips to the next non-trivial congruence.
Definition at line 243 of file Congruence_System.cc.
References Parma_Polyhedra_Library::Congruence_System::end().
Referenced by Parma_Polyhedra_Library::Congruence_System::begin().
|
friend |
Definition at line 294 of file Congruence_System_defs.hh.
|
private |
A const pointer to the vector of congruences.
Definition at line 300 of file Congruence_System_defs.hh.
Referenced by operator=().
|
private |
The const iterator over the vector of congruences.
Definition at line 297 of file Congruence_System_defs.hh.
Referenced by operator!=(), operator=(), and operator==().