40typedef struct SetInterface SetInterface;
95 ObjectInterface objectInterface;
122 void (*addObjectsFromSet)(
Set *self,
const Set *set);
130 Array *(*allObjects)(
const Set *self);
139 bool (*containsObject)(
const Set *self,
const ident obj);
210 Set *(*initWithCapacity)(
Set *self,
size_t capacity);
219 Set *(*initWithObjects)(
Set *self, ...);
229 Set *(*initWithSet)(
Set *self,
const Set *set);
259 void (*removeAllObjects)(
Set *self);
297 Set *(*setWithCapacity)(
size_t capacity);
317 Set *(*setWithSet)(
const Set *set);
static Array * array(void)
Object is the root Class of The Objectively Class hierarchy.
void(* SetEnumerator)(const Set *set, ident obj, ident data)
A function pointer for Set enumeration (iteration).
OBJECTIVELY_EXPORT Class * _Set(void)
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.
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.