22 OF_ASSUME_NONNULL_BEGIN
24 @class OFArray OF_GENERIC(ObjectType);
61 id __unsafe_unretained _Nullable *_Nullable itemsPtr;
63 unsigned long *_Nullable mutationsPtr;
65 unsigned long extra[5];
67 #ifdef NSINTEGER_DEFINED 68 # define OFFastEnumerationState NSFastEnumerationState 95 objects: (
id __unsafe_unretained _Nonnull *_Nonnull)
106 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) 107 # define ObjectType id 124 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) 129 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:107
A protocol for fast enumeration.
Definition: OFEnumerator.h:81
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
unsigned long state
Definition: OFEnumerator.h:59
OFArray * allObjects()
Returns an array of all remaining objects in the collection.
Definition: OFEnumerator.m:48
State information for fast enumerations.
Definition: OFEnumerator.h:57
OFEnumerator * objectEnumerator()
Returns an OFEnumerator to enumerate through all objects of the collection.
A protocol for getting an enumerator for the object.
Definition: OFEnumerator.h:36
nullable ObjectType nextObject()
Returns the next object or nil if there is none left.
Definition: OFEnumerator.m:43
A class which provides methods to enumerate through collections.
Definition: OFEnumerator.h:105