18 OF_ASSUME_NONNULL_BEGIN
20 @class OFArray OF_GENERIC(ObjectType);
49 #define of_fast_enumeration_state_t NSFastEnumerationState
50 #ifndef NSINTEGER_DEFINED
55 id __unsafe_unretained _Nullable *_Nullable itemsPtr;
57 unsigned long *_Nullable mutationsPtr;
59 unsigned long extra[5];
83 objects: (
id __unsafe_unretained _Nonnull *_Nonnull)
94 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
95 # define ObjectType id
106 - (nullable ObjectType)nextObject;
113 - (
OFArray OF_GENERIC(ObjectType) *)allObjects;
114 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN)
119 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:92
A class which provides methods to enumerate through collections.
Definition: OFEnumerator.h:101
The root class for all other classes inside ObjFW.
Definition: OFObject.h:520
A protocol for getting an enumerator for the object.
Definition: OFEnumerator.h:28
OFEnumerator * objectEnumerator()
Returns an OFEnumerator to enumerate through all objects of the collection.
A protocol for fast enumeration.
Definition: OFEnumerator.h:71
State information for fast enumerations.
Definition: OFEnumerator.h:51
unsigned long state
Definition: OFEnumerator.h:53