ObjFW
Loading...
Searching...
No Matches
Classes | Typedefs
OFSet.h File Reference
#include <stdarg.h>
import "OFObject.h"
import "OFCollection.h"
import "OFMutableSet.h"

Go to the source code of this file.

Classes

class  OFSet
 An abstract class for an unordered set of unique objects. More...
 

Typedefs

typedef void(^ OFSetEnumerationBlock) (id object, bool *stop)
 A block for enumerating an OFSet.
 
typedef bool(^ OFSetFilterBlock) (id object)
 A block for filtering an OFSet.
 

Typedef Documentation

◆ OFSetEnumerationBlock

typedef void(^ OFSetEnumerationBlock) (id object, bool *stop)

A block for enumerating an OFSet.

Parameters
objectThe current object
stopA pointer to a variable that can be set to true to stop the enumeration

◆ OFSetFilterBlock

typedef bool(^ OFSetFilterBlock) (id object)

A block for filtering an OFSet.

Parameters
objectThe object to inspect
Returns
Whether the object should be in the filtered set