27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
-
+
|
/**
* \brief A class for storing objects in a hash table.
*/
@interface OFDictionary: OFObject <OFCopying, OFMutableCopying,
OFFastEnumeration>
{
struct of_dictionary_bucket *data;
struct of_dictionary_bucket **data;
uint32_t size;
size_t count;
}
/**
* Creates a new OFDictionary.
*
|
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
|
-
+
-
+
-
+
|
*/
- (OFEnumerator*)keyEnumerator;
@end
/// \cond internal
@interface OFDictionaryEnumerator: OFEnumerator
{
struct of_dictionary_bucket *data;
struct of_dictionary_bucket **data;
uint32_t size;
unsigned long mutations;
unsigned long *mutations_ptr;
uint32_t pos;
}
- initWithData: (struct of_dictionary_bucket*)data
- initWithData: (struct of_dictionary_bucket**)data
size: (uint32_t)size
mutationsPointer: (unsigned long*)mutations_ptr;
@end
@interface OFDictionaryObjectEnumerator: OFDictionaryEnumerator
@end
@interface OFDictionaryKeyEnumerator: OFDictionaryEnumerator
@end
/// \endcond
#import "OFMutableDictionary.h"
extern const int of_dictionary_deleted_bucket;
extern struct of_dictionary_bucket of_dictionary_deleted_bucket;
|