ObjFW
Loading...
Searching...
No Matches
Classes | Typedefs
OFCountedSet.h File Reference
import "OFSet.h"

Go to the source code of this file.

Classes

class  OFCountedSet
 An abstract class for a mutable unordered set of objects, counting how often it contains an object. More...
 

Typedefs

typedef void(^ OFCountedSetEnumerationBlock) (id object, size_t count, bool *stop)
 A block for enumerating an OFCountedSet.
 

Typedef Documentation

◆ OFCountedSetEnumerationBlock

typedef void(^ OFCountedSetEnumerationBlock) (id object, size_t count, bool *stop)

A block for enumerating an OFCountedSet.

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