jengelh-datetimespielwiese
Last change
on this file since 362fc67 was
362fc67,
checked in by Martin Lee <martinlee84@…>, 11 years ago
|
chg: remove $Id$
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[493c477] | 1 | /* emacs edit mode for this file is -*- C++ -*- */ |
---|
[2dd068] | 2 | |
---|
[493c477] | 3 | #ifndef INCL_CF_ITER_H |
---|
| 4 | #define INCL_CF_ITER_H |
---|
[2dd068] | 5 | |
---|
[e4fe2b] | 6 | // #include "config.h" |
---|
[b973c0] | 7 | |
---|
[2dd068] | 8 | #include "canonicalform.h" |
---|
| 9 | |
---|
| 10 | /*BEGINPUBLIC*/ |
---|
| 11 | |
---|
[f80ca1] | 12 | #undef CF_INLINE |
---|
| 13 | #define CF_INLINE |
---|
| 14 | #undef CF_NO_INLINE |
---|
| 15 | #define CF_NO_INLINE |
---|
| 16 | |
---|
| 17 | /*ENDPUBLIC*/ |
---|
| 18 | |
---|
| 19 | #ifdef CF_USE_INLINE |
---|
| 20 | #undef CF_INLINE |
---|
| 21 | #define CF_INLINE inline |
---|
| 22 | #else |
---|
| 23 | #undef CF_INLINE |
---|
| 24 | #define CF_INLINE |
---|
| 25 | #endif |
---|
| 26 | |
---|
| 27 | /*BEGINPUBLIC*/ |
---|
| 28 | |
---|
[2dd068] | 29 | class term; |
---|
| 30 | typedef term * termList; |
---|
| 31 | |
---|
| 32 | class CFIterator { |
---|
| 33 | private: |
---|
| 34 | CanonicalForm data; |
---|
| 35 | termList cursor; |
---|
| 36 | bool ispoly, hasterms; |
---|
| 37 | public: |
---|
| 38 | CFIterator (); |
---|
| 39 | CFIterator ( const CFIterator& ); |
---|
| 40 | CFIterator ( const CanonicalForm& ); |
---|
| 41 | CFIterator ( const CanonicalForm&, const Variable& ); |
---|
| 42 | |
---|
| 43 | ~CFIterator (); |
---|
| 44 | |
---|
| 45 | CFIterator& operator= ( const CFIterator& ); |
---|
| 46 | CFIterator& operator= ( const CanonicalForm& ); |
---|
| 47 | |
---|
[f80ca1] | 48 | CF_NO_INLINE CFIterator& operator++ (); |
---|
| 49 | CF_NO_INLINE CFIterator& operator++ ( int ); |
---|
| 50 | CF_NO_INLINE int hasTerms () const; |
---|
| 51 | CF_NO_INLINE CanonicalForm coeff () const; |
---|
| 52 | CF_NO_INLINE int exp () const; |
---|
[2dd068] | 53 | }; |
---|
| 54 | |
---|
| 55 | /*ENDPUBLIC*/ |
---|
| 56 | |
---|
[f80ca1] | 57 | #ifdef CF_USE_INLINE |
---|
| 58 | #include "cf_iter_inline.cc" |
---|
| 59 | #endif |
---|
| 60 | |
---|
[493c477] | 61 | #endif /* ! INCL_CF_ITER_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.