source: git/factory/cf_iter.h @ 2774a5

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