spielwiese
Last change
on this file since b973c0 was
b973c0,
checked in by Jens Schmidt <schmidt@…>, 26 years ago
|
#include <config.h> added
git-svn-id: file:///usr/local/Singular/svn/trunk@136 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[2dd068] | 1 | // emacs edit mode for this file is -*- C++ -*- |
---|
[b973c0] | 2 | // $Id: cf_iter.h,v 1.2 1997-04-07 16:01:03 schmidt Exp $ |
---|
[2dd068] | 3 | |
---|
| 4 | #ifndef INCL_CFITERATOR_H |
---|
| 5 | #define INCL_CFITERATOR_H |
---|
| 6 | |
---|
| 7 | /* |
---|
| 8 | $Log: not supported by cvs2svn $ |
---|
[b973c0] | 9 | Revision 1.1 1997/03/26 16:44:13 schmidt |
---|
| 10 | spurious #include <iostream.h> removed |
---|
| 11 | |
---|
[2774a5] | 12 | Revision 1.0 1996/05/17 10:59:38 stobbe |
---|
| 13 | Initial revision |
---|
| 14 | |
---|
[2dd068] | 15 | */ |
---|
| 16 | |
---|
[b973c0] | 17 | #include <config.h> |
---|
| 18 | |
---|
[2dd068] | 19 | #include "canonicalform.h" |
---|
| 20 | |
---|
| 21 | /*BEGINPUBLIC*/ |
---|
| 22 | |
---|
| 23 | class term; |
---|
| 24 | typedef term * termList; |
---|
| 25 | |
---|
| 26 | class CFIterator { |
---|
| 27 | private: |
---|
| 28 | CanonicalForm data; |
---|
| 29 | termList cursor; |
---|
| 30 | bool ispoly, hasterms; |
---|
| 31 | public: |
---|
| 32 | CFIterator (); |
---|
| 33 | CFIterator ( const CFIterator& ); |
---|
| 34 | CFIterator ( const CanonicalForm& ); |
---|
| 35 | CFIterator ( const CanonicalForm&, const Variable& ); |
---|
| 36 | |
---|
| 37 | ~CFIterator (); |
---|
| 38 | |
---|
| 39 | CFIterator& operator= ( const CFIterator& ); |
---|
| 40 | CFIterator& operator= ( const CanonicalForm& ); |
---|
| 41 | |
---|
| 42 | CFIterator& operator++ (); |
---|
| 43 | CFIterator& operator++ ( int ); |
---|
| 44 | int hasTerms () const; |
---|
| 45 | CanonicalForm coeff () const; |
---|
| 46 | int exp () const; |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | /*ENDPUBLIC*/ |
---|
| 50 | |
---|
| 51 | #endif /* INCL_CFITERATOR_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.