35typedef struct DictionaryInterface DictionaryInterface;
95struct DictionaryInterface {
100 ObjectInterface objectInterface;
143 bool (*containsKeyPath)(
const Dictionary *self,
const char *path);
162 Dictionary *(*dictionaryWithCapacity)(
size_t capacity);
272 ident (*objectForKeyPathWithClass)(
const Dictionary *self,
const char *path,
const Class *clazz);
308 void (*removeObjectForKeyPath)(
Dictionary *self,
const char *path);
336 void (*setObjectsForKeyPaths)(
Dictionary *self, ...);
344 void (*setObjectsForKeys)(
Dictionary *self, ...);
static Dictionary * dictionary(void)
void(* DictionaryEnumerator)(const Dictionary *dictionary, ident obj, ident key, ident data)
A function type for Dictionary enumeration (iteration).
OBJECTIVELY_EXPORT Class * _Dictionary(void)
bool(* DictionaryPredicate)(ident obj, ident key, ident data)
A function pointer for Dictionary filtering.
Object is the root Class of The Objectively Class hierarchy.
void * ident
The identity type, similar to Objective-C id.
#define OBJECTIVELY_EXPORT
The runtime representation of a Class.
Object object
The superclass.
DictionaryInterface * interface
The interface.
size_t count
The count of elements.
Object is the root Class of The Objectively Class hierarchy.