4 #ifndef __EORecordDictionary_h__
5 #define __EORecordDictionary_h__
7 #import <Foundation/NSDictionary.h>
9 typedef struct _EORecordDictionaryEntry {
13 } EORecordDictionaryEntry;
15 @interface EORecordDictionary : NSDictionary
18 EORecordDictionaryEntry entries[1];
21 /* Allocating and Initializing an Dictionary */
22 - (id)initWithObjects:(id*)objects forKeys:(id*)keys
23 count:(unsigned int)count;
24 - (id)initWithDictionary:(NSDictionary*)dictionary;
26 /* Accessing keys and values */
27 - (id)objectForKey:(id)aKey;
28 - (unsigned int)count;
29 - (NSEnumerator *)keyEnumerator;
31 @end /* EORecordDictionary */
33 #import <Foundation/NSEnumerator.h>
35 @interface _EORecordDictionaryKeyEnumerator : NSEnumerator
38 EORecordDictionaryEntry *currentEntry;
42 - (id)initWithDictionary:(EORecordDictionary *)_dict
43 firstEntry:(EORecordDictionaryEntry *)_firstEntry
44 count:(unsigned char)_count;