PPL
1.2
|
#include <ppl.hh>
Public Member Functions | |
virtual const_iterator_interface * | clone () const =0 |
virtual void | operator++ ()=0 |
virtual void | operator-- ()=0 |
virtual reference | operator* () const =0 |
Returns the current element. | |
virtual Variable | variable () const =0 |
Returns the variable of the coefficient pointed to by *this . More... | |
virtual bool | operator== (const const_iterator_interface &x) const =0 |
Compares *this with x . More... | |
An interface for const iterators on the expression (homogeneous) coefficients that are nonzero.
These iterators are invalidated by operations that modify the expression.
|
pure virtual |
Returns a copy of *this. This returns a pointer to dynamic-allocated memory. The caller has the duty to free the memory when it's not needed anymore.
|
pure virtual |
Navigates to the next nonzero coefficient. Note that this method does *not* return a reference, to increase efficiency since it's virtual.
|
pure virtual |
Navigates to the previous nonzero coefficient. Note that this method does *not* return a reference, to increase efficiency since it's virtual.
|
pure virtual |
Returns the variable of the coefficient pointed to by *this
.
*this
.
|
pure virtual |
Compares *this
with x .
x | The iterator that will be compared with *this. |