PPL
1.2
|
An iterator over a system of constraints. More...
#include <Constraint_System_defs.hh>
Public Member Functions | |
Constraint_System_const_iterator () | |
Default constructor. More... | |
Constraint_System_const_iterator (const Constraint_System_const_iterator &y) | |
Ordinary copy constructor. More... | |
~Constraint_System_const_iterator () | |
Destructor. More... | |
Constraint_System_const_iterator & | operator= (const Constraint_System_const_iterator &y) |
Assignment operator. More... | |
const Constraint & | operator* () const |
Dereference operator. More... | |
const Constraint * | operator-> () const |
Indirect member selector. More... | |
Constraint_System_const_iterator & | operator++ () |
Prefix increment operator. More... | |
Constraint_System_const_iterator | operator++ (int) |
Postfix increment operator. More... | |
bool | operator== (const Constraint_System_const_iterator &y) const |
Returns true if and only if *this and y are identical. More... | |
bool | operator!= (const Constraint_System_const_iterator &y) const |
Returns true if and only if *this and y are different. More... | |
Private Member Functions | |
Constraint_System_const_iterator (const Linear_System< Constraint >::const_iterator &iter, const Constraint_System &cs) | |
Constructor. More... | |
void | skip_forward () |
*this skips to the next non-trivial constraint. More... | |
Private Attributes | |
Linear_System< Constraint >::const_iterator | i |
The const iterator over the matrix of constraints. More... | |
const Linear_System< Constraint > * | csp |
A const pointer to the matrix of constraints. More... | |
Friends | |
class | Constraint_System |
An iterator over a system of constraints.
A const_iterator is used to provide read-only access to each constraint contained in a Constraint_System object.
ph
: Definition at line 610 of file Constraint_System_defs.hh.
|
inline |
Default constructor.
Definition at line 118 of file Constraint_System_inlines.hh.
|
inline |
Ordinary copy constructor.
Definition at line 123 of file Constraint_System_inlines.hh.
|
inline |
|
inlineprivate |
Constructor.
Definition at line 174 of file Constraint_System_inlines.hh.
|
inline |
Returns true
if and only if *this
and y
are different.
Definition at line 168 of file Constraint_System_inlines.hh.
References i.
|
inline |
Dereference operator.
Definition at line 139 of file Constraint_System_inlines.hh.
References i.
|
inline |
Prefix increment operator.
Definition at line 149 of file Constraint_System_inlines.hh.
References i, and skip_forward().
Referenced by operator++().
|
inline |
Postfix increment operator.
Definition at line 156 of file Constraint_System_inlines.hh.
References operator++().
|
inline |
Indirect member selector.
Definition at line 144 of file Constraint_System_inlines.hh.
References i.
|
inline |
Assignment operator.
Definition at line 132 of file Constraint_System_inlines.hh.
|
inline |
Returns true
if and only if *this
and y
are identical.
Definition at line 163 of file Constraint_System_inlines.hh.
References i.
|
private |
*this
skips to the next non-trivial constraint.
Definition at line 212 of file Constraint_System.cc.
Referenced by Parma_Polyhedra_Library::Constraint_System::begin(), and operator++().
|
friend |
Definition at line 655 of file Constraint_System_defs.hh.
|
private |
A const pointer to the matrix of constraints.
Definition at line 661 of file Constraint_System_defs.hh.
Referenced by operator=().
|
private |
The const iterator over the matrix of constraints.
Definition at line 658 of file Constraint_System_defs.hh.
Referenced by operator!=(), operator*(), operator++(), operator->(), operator=(), and operator==().