Definition at line 70 of file ShipEntityLoadRestore.m.
◆ simplifyShipdata:andGetDeletes:
| - (void) simplifyShipdata: |
|
(NSMutableDictionary *) |
data |
| andGetDeletes: |
|
(NSArray **) |
deletes |
|
|
| |
Extends class ShipEntity.
Definition at line 362 of file ShipEntityLoadRestore.m.
263 :(NSMutableDictionary *)data andGetDeletes:(NSArray **)deletes
264{
265 NSParameterAssert(data !=
nil && deletes != NULL);
267
268
270
271
274
275
276 NSMutableArray *foundDeletes = [NSMutableArray array];
279 {
280 if ([data objectForKey:key] ==
nil)
281 {
282 [foundDeletes addObject:key];
283 }
284 }
285 if ([foundDeletes
count] != 0) *deletes = foundDeletes;
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300}
#define foreachkey(VAR, DICT)
static void StripIgnoredKeys(NSMutableDictionary *dict)
OOShipRegistry * sharedRegistry()
NSDictionary * shipInfoForKey:(NSString *key)
The documentation for this category was generated from the following file: