source: git/factory/cf_iter.h @ b973c0

fieker-DuValspielwiese
Last change on this file since b973c0 was b973c0, checked in by Jens Schmidt <schmidt@…>, 27 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
Line 
1// emacs edit mode for this file is -*- C++ -*-
2// $Id: cf_iter.h,v 1.2 1997-04-07 16:01:03 schmidt Exp $
3
4#ifndef INCL_CFITERATOR_H
5#define INCL_CFITERATOR_H
6
7/*
8$Log: not supported by cvs2svn $
9Revision 1.1  1997/03/26 16:44:13  schmidt
10spurious #include <iostream.h> removed
11
12Revision 1.0  1996/05/17 10:59:38  stobbe
13Initial revision
14
15*/
16
17#include <config.h>
18
19#include "canonicalform.h"
20
21/*BEGINPUBLIC*/
22
23class term;
24typedef term * termList;
25
26class CFIterator {
27private:
28    CanonicalForm data;
29    termList cursor;
30    bool ispoly, hasterms;
31public:
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.