Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include "Array.h"
#include "Hash.h"
#include "MutableArray.h"
#include "MutableString.h"
Go to the source code of this file.
Macros | |
#define | _Class _Array |
Functions | |
Class * | _Array (void) |
static Array * | arrayWithArray (const Array *array) |
static Array * | arrayWithObjects (ident obj,...) |
static Array * | arrayWithVaList (va_list args) |
static String * | componentsJoinedByCharacters (const Array *self, const char *chars) |
static String * | componentsJoinedByString (const Array *self, const String *string) |
static _Bool | containsObject (const Array *self, const ident obj) |
static Object * | copy (const Object *self) |
static void | dealloc (Object *self) |
static String * | description (const Object *self) |
static void | enumerateObjects (const Array *self, ArrayEnumerator enumerator, ident data) |
static Array * | filteredArray (const Array *self, Predicate predicate, ident data) |
static ident | findObject (const Array *self, Predicate predicate, ident data) |
static ident | firstObject (const Array *self) |
static int | hash (const Object *self) |
static ssize_t | indexOfObject (const Array *self, const ident obj) |
static void | initialize (Class *clazz) |
static Array * | initWithArray (Array *self, const Array *array) |
static Array * | initWithObjects (Array *self,...) |
static Array * | initWithVaList (Array *self, va_list args) |
static _Bool | isEqual (const Object *self, const Object *other) |
static ident | lastObject (const Array *self) |
static Array * | mappedArray (const Array *self, Functor functor, ident data) |
static MutableArray * | mutableCopy (const Array *self) |
static ident | objectAtIndex (const Array *self, size_t index) |
static ident | reduce (const Array *self, Reducer reducer, ident accumulator, ident data) |
static Array * | sortedArray (const Array *self, Comparator comparator) |
Class * _Array | ( | void | ) |
Definition at line 470 of file Array.c.
Definition at line 133 of file Array.c.
Definition at line 142 of file Array.c.
|
static |
Definition at line 167 of file Array.c.
Definition at line 176 of file Array.c.
Definition at line 200 of file Array.c.
|
static |
Definition at line 50 of file Array.c.
Definition at line 66 of file Array.c.
|
static |
Definition at line 230 of file Array.c.
|
static |
Definition at line 80 of file Array.c.
Definition at line 271 of file Array.c.
|
static |
Definition at line 436 of file Array.c.
Definition at line 312 of file Array.c.
Definition at line 96 of file Array.c.
Definition at line 358 of file Array.c.
|
static |
Definition at line 381 of file Array.c.
|
static |
Definition at line 420 of file Array.c.