Changeset d675c7 in git for factory/fac_iterfor.h
- Timestamp:
- Jul 8, 1996, 10:18:49 AM (28 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f63dbca24fdad0fc65e8496a781d6830dafded8e
- Parents:
- cc3e5eb035f7602ac7563d30a082c4b4bc9debf6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/fac_iterfor.h
rcc3e5e rd675c7 1 1 // emacs edit mode for this file is -*- C++ -*- 2 // $Id: fac_iterfor.h,v 1. 0 1996-05-17 10:59:40stobbe Exp $2 // $Id: fac_iterfor.h,v 1.1 1996-07-08 08:18:49 stobbe Exp $ 3 3 4 4 #ifndef INCL_ITERFOR_H … … 7 7 /* 8 8 $Log: not supported by cvs2svn $ 9 Revision 1.0 1996/05/17 10:59:40 stobbe 10 Initial revision 11 9 12 */ 10 13 … … 15 18 private: 16 19 int MAX; 20 int FROM; 21 int TO; 17 22 int N; 18 23 bool last; … … 21 26 void fill ( int from, int n ); 22 27 public: 23 IteratedFor( int n, int max );28 IteratedFor( int from, int to, int max ); 24 29 IteratedFor( const IteratedFor & ); 25 30 ~IteratedFor(); 26 31 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; }; 28 35 int max() const { return MAX; } 29 36 void nextiteration();
Note: See TracChangeset
for help on using the changeset viewer.