40typedef struct SetInterface SetInterface;
96 ObjectInterface objectInterface;
104 Array *(*allObjects)(
const Set *self);
164 Set *(*initWithObjects)(
Set *self, ...);
static ident reduce(const Array *self, Reducer reducer, ident accumulator, ident data)
static _Bool containsObject(const Array *self, const ident obj)
static void enumerateObjects(const Array *self, ArrayEnumerator enumerator, ident data)
static MutableArray * array(void)
static MutableData * data(void)
static MutableSet * set(void)
Object is the root Class of The Objectively Class hierarchy.
static _Bool containsObjectMatching(const Set *self, Predicate predicate, ident data)
void(* SetEnumerator)(const Set *set, ident obj, ident data)
A function pointer for Set enumeration (iteration).
void * ident
The identity type, similar to Objective-C id.
#define OBJECTIVELY_EXPORT
_Bool(* Predicate)(const ident obj, ident data)
The Predicate function type for filtering Objects.
ident(* Functor)(const ident obj, ident data)
The Functor function type for transforming Objects.
ident(* Reducer)(const ident obj, ident accumulator, ident data)
The Reducer function type for reducing collections.
The runtime representation of a Class.
MutableData * data(void)
Returns a new MutableData.
MutableSet * set(void)
Returns a new MutableSet.
Object is the root Class of The Objectively Class hierarchy.
Object object
The superclass.
size_t count
The count of elements.
SetInterface * interface
The interface.
Class * _Set(void)
The Set archetype.