1 // 2 // KTMatrixDenseEnumerator 3 // KTMatrix collection class cluster 4 // 5 // Enumerator classes for the dense implementations of KTMatrix 6 // 7 // Copyright (c) 2002 Chris Purcell. All rights reserved. 8 // 9 // You may use this code for whatever purposes you wish. 10 // This code comes with no warranties, implied or otherwise. 11 // Using it may damage your data. It shouldn't, but save a copy first. 12 // That's a good idea anyway, actually. 13 // 14 15 #import <Foundation/Foundation.h> 16 #import "KTMatrix.h" 17 18 @interface KTMatrixDenseEnumerator : NSEnumerator<KTMatrixEnumerator> 19 { 20 const id *array; 21 BOOL broken; 22 unsigned capacity; 23 unsigned offset; 24 id source; 25 } 26 27 - (id)initWithArray:(const id *)array 28 ofCapacity:(unsigned)capacity 29 collection:(id)collection; 30 31 @end 32