00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #import "OFObject.h"
00013
00017 @interface OFEnumerator: OFObject {}
00021 - (id)nextObject;
00022
00027 - reset;
00028 @end
00029
00030
00031
00032
00033
00034
00035
00036 #define of_fast_enumeration_state_t NSFastEnumerationState
00037 #ifndef NSINTEGER_DEFINED
00038 typedef struct __of_fast_enumeration_state {
00039 unsigned long state;
00040 id *itemsPtr;
00041 unsigned long *mutationsPtr;
00042 unsigned long extra[5];
00043 } of_fast_enumeration_state_t;
00044 #endif
00045
00050 @protocol OFFastEnumeration
00051 - (int)countByEnumeratingWithState: (of_fast_enumeration_state_t*)state
00052 objects: (id*)objects
00053 count: (int)count;
00054 @end