|
Objectively
Ultra-lightweight object oriented framework for GNU C.
|
Go to the source code of this file.
Macros | |
| #define | _Class _IndexSet |
| #define | INDEX_SET_CHUNK_SIZE 8 |
Functions | |
| Class * | _IndexSet (void) |
| static void | addIndex (IndexSet *self, size_t index) |
| static void | addIndexes (IndexSet *self, size_t *indexes, size_t count) |
| static void | addIndexesInRange (IndexSet *self, const Range range) |
| static size_t | compact (size_t *indexes, size_t count) |
| Sorts and compacts the given array to contain only unique values. | |
| static int | compare (const void *a, const void *b) |
| qsort comparator for indexes. | |
| static bool | containsIndex (const IndexSet *self, size_t index) |
| static Object * | copy (const Object *self) |
| static void | dealloc (Object *self) |
| static String * | description (const Object *self) |
| static int | hash (const Object *self) |
| static IndexSet * | init (IndexSet *self) |
| static void | initialize (Class *clazz) |
| static IndexSet * | initWithCapacity (IndexSet *self, size_t capacity) |
| static IndexSet * | initWithIndex (IndexSet *self, size_t index) |
| static IndexSet * | initWithIndexes (IndexSet *self, size_t *indexes, size_t count) |
| static bool | isEqual (const Object *self, const Object *other) |
| static void | removeAllIndexes (IndexSet *self) |
| static void | removeIndex (IndexSet *self, size_t index) |
| static void | removeIndexes (IndexSet *self, size_t *indexes, size_t count) |
| static void | removeIndexesInRange (IndexSet *self, const Range range) |
| #define _Class _IndexSet |
Definition at line 65 of file IndexSet.c.
| #define INDEX_SET_CHUNK_SIZE 8 |
Definition at line 67 of file IndexSet.c.
| Class * _IndexSet | ( | void | ) |
Definition at line 370 of file IndexSet.c.
|
static |
Definition at line 205 of file IndexSet.c.
|
static |
Definition at line 238 of file IndexSet.c.
Definition at line 252 of file IndexSet.c.
|
static |
Sorts and compacts the given array to contain only unique values.
Definition at line 46 of file IndexSet.c.
|
static |
qsort comparator for indexes.
Definition at line 35 of file IndexSet.c.
|
static |
Definition at line 157 of file IndexSet.c.
Definition at line 74 of file IndexSet.c.
|
static |
Definition at line 85 of file IndexSet.c.
Definition at line 97 of file IndexSet.c.
|
static |
Definition at line 116 of file IndexSet.c.
Definition at line 263 of file IndexSet.c.
|
static |
Definition at line 344 of file IndexSet.c.
Definition at line 172 of file IndexSet.c.
Definition at line 180 of file IndexSet.c.
Definition at line 132 of file IndexSet.c.
|
static |
Definition at line 288 of file IndexSet.c.
|
static |
Definition at line 303 of file IndexSet.c.
|
static |
Definition at line 321 of file IndexSet.c.
Definition at line 332 of file IndexSet.c.