![]() |
My Project
|
go into polynomials over an alg. extension recursively More...
#include <PolyEnumerator.h>
Public Member Functions | |
| CRecursivePolyCoeffsEnumerator (IPolyCoeffsEnumerator &itr) | |
| NOTE: carefull: don't destruct the input enumerator before doing it with this one... this also changes the original IPolyCoeffsEnumerator& itr! More... | |
| virtual bool | MoveNext () |
| Advances the enumerator to the next element of the collection. returns true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. More... | |
| virtual void | Reset () |
| Sets the enumerator to its initial position: -1, which is before the first element in the collection. More... | |
| virtual IPolyCoeffsEnumerator::reference | Current () |
| Gets the current element in the collection (read and write). More... | |
| virtual IPolyCoeffsEnumerator::const_reference | Current () const |
| Gets the current element in the collection (read only). More... | |
| virtual bool | MoveNext ()=0 |
| Advances the enumerator to the next element of the collection. returns true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. More... | |
| virtual void | Reset ()=0 |
| Sets the enumerator to its initial position: -1, which is before the first element in the collection. More... | |
| virtual bool | IsValid () const =0 |
| Current position is inside the collection (not -1 or past the end) More... | |
| virtual reference | Current ()=0 |
| Gets the current element in the collection (read and write). More... | |
| virtual const_reference | Current () const =0 |
| Gets the current element in the collection (read only). More... | |
Protected Member Functions | |
| virtual bool | IsValid () const |
| Current position is inside the collection (not -1 or past the end) More... | |
Protected Member Functions inherited from IBaseEnumerator | |
| IBaseEnumerator () | |
| ~IBaseEnumerator () | |
Protected Member Functions inherited from IAccessor< T > | |
| IAccessor () | |
| ~IAccessor () | |
Private Attributes | |
| IPolyCoeffsEnumerator & | m_global_enumerator |
| iterates the input polynomial More... | |
| CBasePolyEnumerator | m_local_enumerator |
| iterates the current coeff. of m_global_enumerator More... | |
Additional Inherited Members | |
Public Types inherited from IAccessor< T > | |
| typedef T | value_type |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
go into polynomials over an alg. extension recursively
Definition at line 161 of file PolyEnumerator.h.
|
inline |
NOTE: carefull: don't destruct the input enumerator before doing it with this one... this also changes the original IPolyCoeffsEnumerator& itr!
Definition at line 177 of file PolyEnumerator.h.
|
inlinevirtual |
Gets the current element in the collection (read and write).
Implements IAccessor< T >.
Definition at line 208 of file PolyEnumerator.h.
|
inlinevirtual |
Gets the current element in the collection (read only).
Implements IAccessor< T >.
Definition at line 215 of file PolyEnumerator.h.
|
inlineprotectedvirtual |
Current position is inside the collection (not -1 or past the end)
Implements IBaseEnumerator.
Definition at line 168 of file PolyEnumerator.h.
|
inlinevirtual |
Advances the enumerator to the next element of the collection. returns true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
Implements IBaseEnumerator.
Definition at line 179 of file PolyEnumerator.h.
|
inlinevirtual |
Sets the enumerator to its initial position: -1, which is before the first element in the collection.
Implements IBaseEnumerator.
Definition at line 201 of file PolyEnumerator.h.
|
private |
iterates the input polynomial
Definition at line 164 of file PolyEnumerator.h.
|
private |
iterates the current coeff. of m_global_enumerator
Definition at line 165 of file PolyEnumerator.h.