Definition at line 70 of file ShipEntityLoadRestore.m.
◆ simplifyShipdata:andGetDeletes:
- (void) simplifyShipdata: |
|
(NSMutableDictionary *) | data |
andGetDeletes: |
|
(NSArray **) | deletes |
Extends class ShipEntity.
Definition at line 365 of file ShipEntityLoadRestore.m.
264 :(NSMutableDictionary *)data andGetDeletes:(NSArray **)deletes
265{
266 NSParameterAssert(data !=
nil && deletes != NULL);
268
269
271
272
275
276
277 NSMutableArray *foundDeletes = [NSMutableArray array];
278 NSEnumerator *enumerator =
nil;
280 for (enumerator = [referenceData keyEnumerator]; (key = [enumerator nextObject]); )
281 {
282 if ([data objectForKey:key] ==
nil)
283 {
284 [foundDeletes addObject:key];
285 }
286 }
287 if ([foundDeletes
count] != 0) *deletes = foundDeletes;
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302}
static void StripIgnoredKeys(NSMutableDictionary *dict)
OOShipRegistry * sharedRegistry()
NSDictionary * shipInfoForKey:(NSString *key)
The documentation for this category was generated from the following file: