ObjFW
Loading...
Searching...
No Matches
<OFEnumeration> Protocol Reference

A protocol for getting an enumerator for the object. More...

#include <ObjFW/ObjFW.h>

Inheritance diagram for <OFEnumeration>:
<OFCollection> OFArray OFDictionary OFList OFSet OFMutableArray OFMutableDictionary OTOrderedDictionary OFSortedList OFMutableSet OFCountedSet

Instance Methods

(OFEnumerator *) - objectEnumerator
 Returns an OFEnumerator to enumerate through all objects of the collection.
 

Detailed Description

A protocol for getting an enumerator for the object.

If the class conforming to OFEnumeration is using lightweight generics, the only method, objectEnumerator (OFEnumeration-p), should be overridden to use lightweight generics.

Method Documentation

◆ objectEnumerator

- (OFEnumerator *) objectEnumerator

Returns an OFEnumerator to enumerate through all objects of the collection.

Returns
An OFEnumerator to enumerate through all objects of the collection

Reimplemented in OFArray, OFDictionary, and OFSet.


The documentation for this protocol was generated from the following file: