ObjFW
Public Member Functions | Protected Attributes
OFMutableDictionary Class Reference

A class for using mutable hash tables. More...

#include <OFMutableDictionary.h>

Inheritance diagram for OFMutableDictionary:
OFDictionary OFObject <OFCopying> <OFMutableCopying> <OFCollection> <OFFastEnumeration> <OFObject> <OFObject>

List of all members.

Public Member Functions

void setObject:forKey: (id obj,[forKey] id< OFCopying > key)
void removeObjectForKey: (id key)
void replaceObjectsUsingBlock: (of_dictionary_replace_block_t block)

Protected Attributes

unsigned long mutations

Detailed Description

A class for using mutable hash tables.


Member Function Documentation

void OFMutableDictionary::removeObjectForKey: ( id  key) [virtual]

Remove the object with the given key from the dictionary.

Parameters:
keyThe key whose object should be removed
void OFMutableDictionary::replaceObjectsUsingBlock: ( of_dictionary_replace_block_t  block) [virtual]

Replaces each object with the object returned by the block.

Parameters:
blockThe block which returns a new object for each object
void OFMutableDictionary::setObject:forKey: ( id  obj,
[forKey] id <OFCopying key 
) [virtual]

Sets an object for a key. A key can be any object.

Parameters:
keyThe key to set
objThe object to set the key to

The documentation for this class was generated from the following files:
 All Classes Functions Variables