|
ObjFW
|
#include <stdarg.h>import "OFObject.h"import "OFCollection.h"import "OFEnumerator.h"import "OFJSONRepresentation.h"import "OFMessagePackRepresentation.h"import "OFMutableArray.h"Go to the source code of this file.
Classes | |
| class | OFArray |
| An abstract class for storing objects in an array. More... | |
Typedefs | |
| typedef void(^ | OFArrayEnumerationBlock) (id object, size_t index, bool *stop) |
| A block for enumerating an OFArray. | |
| typedef bool(^ | OFArrayFilterBlock) (id object, size_t index) |
| A block for filtering an OFArray. | |
| typedef id(^ | OFArrayMapBlock) (id object, size_t index) |
| A block for mapping objects to objects in an OFArray. | |
| typedef id(^ | OFArrayFoldBlock) (id left, id right) |
| A block for folding an OFArray. | |
Enumerations | |
| enum | OFArrayJoinOptions { OFArraySkipEmptyComponents = 1 } |
| Options for joining the objects of an array. More... | |
| enum | OFArraySortOptions { OFArraySortDescending = 1 } |
| Options for sorting an array. More... | |
| typedef void(^ OFArrayEnumerationBlock) (id object, size_t index, bool *stop) |
A block for enumerating an OFArray.
| object | The current object |
| index | The index of the current object |
| stop | A pointer to a variable that can be set to true to stop the enumeration |
| typedef bool(^ OFArrayFilterBlock) (id object, size_t index) |
A block for filtering an OFArray.
| object | The object to inspect |
| index | The index of the object to inspect |
| typedef id(^ OFArrayFoldBlock) (id left, id right) |
A block for folding an OFArray.
| left | The object to which the object has been folded so far |
| right | The object that should be added to the left object |
| typedef id(^ OFArrayMapBlock) (id object, size_t index) |
A block for mapping objects to objects in an OFArray.
| object | The object to map |
| index | The index of the object to map |
| enum OFArrayJoinOptions |
| enum OFArraySortOptions |