Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include "Hash.h"
#include "MutableArray.h"
#include "MutableSet.h"
#include "Set.h"
#include "String.h"
Go to the source code of this file.
Macros | |
#define | _Class _Set |
Functions | |
Class * | _Set (void) |
static Array * | allObjects (const Set *self) |
static void | allObjects_enumerator (const Set *set, ident obj, ident data) |
SetEnumerator for allObjects. More... | |
static _Bool | containsObject (const Set *self, const ident obj) |
static _Bool | containsObjectMatching (const Set *self, Predicate predicate, ident data) |
static Object * | copy (const Object *self) |
static void | dealloc (Object *self) |
static String * | description (const Object *self) |
static void | enumerateObjects (const Set *self, SetEnumerator enumerator, ident data) |
static Set * | filteredSet (const Set *self, Predicate predicate, ident data) |
static int | hash (const Object *self) |
static void | initialize (Class *clazz) |
static Set * | initWithArray (Set *self, const Array *array) |
static void | initWithArray_enumerator (const Array *array, ident obj, ident data) |
ArrayEnumerator for initWithArray. More... | |
static Set * | initWithObjects (Set *self,...) |
static Set * | initWithSet (Set *self, const Set *set) |
static void | initWithSet_enumerator (const Set *set, ident obj, ident data) |
SetEnumerator for initWithSet. More... | |
static _Bool | isEqual (const Object *self, const Object *other) |
static Set * | mappedSet (const Set *self, Functor functor, ident data) |
static MutableSet * | mutableCopy (const Set *self) |
static ident | reduce (const Set *self, Reducer reducer, ident accumulator, ident data) |
static Set * | setWithArray (const Array *array) |
static Set * | setWithObjects (ident obj,...) |
static Set * | setWithSet (const Set *set) |
Class * _Set | ( | void | ) |
Definition at line 454 of file Set.c.
Definition at line 142 of file Set.c.
SetEnumerator for allObjects.
Definition at line 134 of file Set.c.
Definition at line 155 of file Set.c.
Definition at line 41 of file Set.c.
|
static |
Definition at line 53 of file Set.c.
|
static |
Definition at line 217 of file Set.c.
|
static |
Definition at line 79 of file Set.c.
|
static |
Definition at line 426 of file Set.c.
ArrayEnumerator for initWithArray.
SetEnumerator for initWithSet.
Definition at line 97 of file Set.c.
|
static |
Definition at line 349 of file Set.c.