00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #import "OFDictionary.h"
00018
00019 #ifdef OF_HAVE_BLOCKS
00020 typedef id (^of_dictionary_replace_block_t)(id key, id obj, BOOL *stop);
00021 #endif
00022
00026 @interface OFMutableDictionary: OFDictionary
00027 {
00028 unsigned long mutations;
00029 }
00030
00038 - (void)setObject: (id)obj
00039 forKey: (id <OFCopying>)key;
00040
00046 - (void)removeObjectForKey: (id)key;
00047
00048 #ifdef OF_HAVE_BLOCKS
00049
00054 - (void)replaceObjectsUsingBlock: (of_dictionary_replace_block_t)block;
00055 #endif
00056 @end