Changeset d675c7 in git for factory/fac_iterfor.h


Ignore:
Timestamp:
Jul 8, 1996, 10:18:49 AM (28 years ago)
Author:
Rüdiger Stobbe <stobbe@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
f63dbca24fdad0fc65e8496a781d6830dafded8e
Parents:
cc3e5eb035f7602ac7563d30a082c4b4bc9debf6
Message:
"IteratedFor now handles the cases in which the mainvariable is not of
level 1.
"


git-svn-id: file:///usr/local/Singular/svn/trunk@38 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/fac_iterfor.h

    rcc3e5e rd675c7  
    11// emacs edit mode for this file is -*- C++ -*-
    2 // $Id: fac_iterfor.h,v 1.0 1996-05-17 10:59:40 stobbe Exp $
     2// $Id: fac_iterfor.h,v 1.1 1996-07-08 08:18:49 stobbe Exp $
    33
    44#ifndef INCL_ITERFOR_H
     
    77/*
    88$Log: not supported by cvs2svn $
     9Revision 1.0  1996/05/17 10:59:40  stobbe
     10Initial revision
     11
    912*/
    1013
     
    1518private:
    1619    int MAX;
     20    int FROM;
     21    int TO;
    1722    int N;
    1823    bool last;
     
    2126    void fill ( int from, int n );
    2227public:
    23     IteratedFor( int n, int max );
     28    IteratedFor( int from, int to, int max );
    2429    IteratedFor( const IteratedFor & );
    2530    ~IteratedFor();
    2631    IteratedFor& operator= ( const IteratedFor & );
    27     int n() const { return N; }
     32    int from() const { return FROM; }
     33    int to() const { return TO; }
     34    int n() const { return N; };
    2835    int max() const { return MAX; }
    2936    void nextiteration();
Note: See TracChangeset for help on using the changeset viewer.