PPL
1.2
|
A read-only iterator on the constraints defining the feasible region. More...
#include <MIP_Problem_defs.hh>
Public Types | |
typedef Base_Traits::iterator_category | iterator_category |
typedef Base_Traits::difference_type | difference_type |
typedef const Constraint | value_type |
typedef const Constraint * | pointer |
typedef const Constraint & | reference |
Public Member Functions | |
difference_type | operator- (const const_iterator &y) const |
Iterator difference: computes distances. More... | |
const_iterator & | operator++ () |
Prefix increment. More... | |
const_iterator & | operator-- () |
Prefix decrement. More... | |
const_iterator | operator++ (int) |
Postfix increment. More... | |
const_iterator | operator-- (int) |
Postfix decrement. More... | |
const_iterator & | operator+= (difference_type n) |
Moves iterator forward of n positions. More... | |
const_iterator & | operator-= (difference_type n) |
Moves iterator backward of n positions. More... | |
const_iterator | operator+ (difference_type n) const |
Returns an iterator n positions forward. More... | |
const_iterator | operator- (difference_type n) const |
Returns an iterator n positions backward. More... | |
reference | operator* () const |
Returns a reference to the "pointed" object. More... | |
pointer | operator-> () const |
Returns the address of the "pointed" object. More... | |
bool | operator== (const const_iterator &y) const |
Compares *this with y. More... | |
bool | operator!= (const const_iterator &y) const |
Compares *this with y. More... | |
Private Types | |
typedef Constraint_Sequence::const_iterator | Base |
typedef std::iterator_traits< Base > | Base_Traits |
Private Member Functions | |
const_iterator (Base b) | |
Constructor from a Base iterator. More... | |
Private Attributes | |
Base | itr |
The Base iterator on the Constraint_Sequence. More... | |
Friends | |
class | MIP_Problem |
A read-only iterator on the constraints defining the feasible region.
Definition at line 241 of file MIP_Problem_defs.hh.
|
private |
Definition at line 243 of file MIP_Problem_defs.hh.
|
private |
Definition at line 244 of file MIP_Problem_defs.hh.
typedef Base_Traits::difference_type Parma_Polyhedra_Library::MIP_Problem::const_iterator::difference_type |
Definition at line 248 of file MIP_Problem_defs.hh.
typedef Base_Traits::iterator_category Parma_Polyhedra_Library::MIP_Problem::const_iterator::iterator_category |
Definition at line 247 of file MIP_Problem_defs.hh.
Definition at line 250 of file MIP_Problem_defs.hh.
Definition at line 251 of file MIP_Problem_defs.hh.
Definition at line 249 of file MIP_Problem_defs.hh.
|
inlineexplicitprivate |
Constructor from a Base iterator.
Definition at line 241 of file MIP_Problem_inlines.hh.
|
inline |
Compares *this
with y.
y | The iterator that will be compared with *this. |
Definition at line 314 of file MIP_Problem_inlines.hh.
References itr.
|
inline |
Returns a reference to the "pointed" object.
Definition at line 299 of file MIP_Problem_inlines.hh.
|
inline |
Returns an iterator n
positions forward.
Definition at line 277 of file MIP_Problem_inlines.hh.
|
inline |
Prefix increment.
Definition at line 251 of file MIP_Problem_inlines.hh.
|
inline |
Postfix increment.
Definition at line 263 of file MIP_Problem_inlines.hh.
|
inline |
Moves iterator forward of n
positions.
Definition at line 287 of file MIP_Problem_inlines.hh.
|
inline |
Iterator difference: computes distances.
Definition at line 246 of file MIP_Problem_inlines.hh.
References itr.
|
inline |
Returns an iterator n
positions backward.
Definition at line 282 of file MIP_Problem_inlines.hh.
|
inline |
Prefix decrement.
Definition at line 257 of file MIP_Problem_inlines.hh.
|
inline |
Postfix decrement.
Definition at line 270 of file MIP_Problem_inlines.hh.
|
inline |
Moves iterator backward of n
positions.
Definition at line 293 of file MIP_Problem_inlines.hh.
|
inline |
Returns the address of the "pointed" object.
Definition at line 304 of file MIP_Problem_inlines.hh.
|
inline |
Compares *this
with y.
y | The iterator that will be compared with *this. |
Definition at line 309 of file MIP_Problem_inlines.hh.
References itr.
|
friend |
Definition at line 307 of file MIP_Problem_defs.hh.
|
private |
The Base iterator on the Constraint_Sequence.
Definition at line 305 of file MIP_Problem_defs.hh.
Referenced by operator!=(), operator-(), and operator==().