source: git/factory/cf_iter.h @ 2dd068

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