Oolite 1.91.0.7644-241112-7f5034b
|
import "Universe.h"
import "OOConvertSystemDescriptions.h"
import "OldSchoolPropertyListWriting.h"
import "OOCollectionExtractors.h"
import "ResourceManager.h"
Go to the source code of this file.
Functions | |
static NSMutableDictionary * | InitKeyToIndexDict (NSDictionary *dict, NSMutableSet **outUsedIndices) |
static NSString * | IndexToKey (NSUInteger index, NSDictionary *indicesToKeys, BOOL useFallback) |
static NSArray * | ConvertIndicesToKeys (NSArray *entry, NSDictionary *indicesToKeys) |
static NSNumber * | KeyToIndex (NSString *key, NSMutableDictionary *ioKeysToIndices, NSMutableSet *ioUsedIndicies, NSUInteger *ioSlotCache) |
static NSArray * | ConvertKeysToIndices (NSArray *entry, NSMutableDictionary *ioKeysToIndices, NSMutableSet *ioUsedIndicies, NSUInteger *ioSlotCache) |
static NSUInteger | HighestIndex (NSMutableDictionary *sparseArray) |
void | CompileSystemDescriptions (BOOL asXML) |
void | ExportSystemDescriptions (BOOL asXML) |
NSArray * | OOConvertSystemDescriptionsToArrayFormat (NSDictionary *descriptionsInDictionaryFormat, NSDictionary *indicesToKeys) |
NSDictionary * | OOConvertSystemDescriptionsToDictionaryFormat (NSArray *descriptionsInArrayFormat, NSDictionary *indicesToKeys) |
NSString * | OOStringifySystemDescriptionLine (NSString *line, NSDictionary *indicesToKeys, BOOL useFallback) |
void CompileSystemDescriptions | ( | BOOL | asXML | ) |
Definition at line 47 of file OOConvertSystemDescriptions.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, nil, OOConvertSystemDescriptionsToArrayFormat(), and OOLog.
|
static |
Definition at line 297 of file OOConvertSystemDescriptions.m.
References nil.
Referenced by OOConvertSystemDescriptionsToDictionaryFormat().
|
static |
Definition at line 339 of file OOConvertSystemDescriptions.m.
References nil.
Referenced by OOConvertSystemDescriptionsToArrayFormat().
void ExportSystemDescriptions | ( | BOOL | asXML | ) |
Definition at line 106 of file OOConvertSystemDescriptions.m.
References ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, nil, OOConvertSystemDescriptionsToDictionaryFormat(), and OOLog.
|
static |
Definition at line 381 of file OOConvertSystemDescriptions.m.
References nil.
Referenced by OOConvertSystemDescriptionsToArrayFormat().
|
static |
Definition at line 288 of file OOConvertSystemDescriptions.m.
References nil.
Referenced by OOConvertSystemDescriptionsToDictionaryFormat(), and OOStringifySystemDescriptionLine().
|
static |
Definition at line 262 of file OOConvertSystemDescriptions.m.
References nil.
Referenced by OOConvertSystemDescriptionsToArrayFormat().
|
static |
Definition at line 314 of file OOConvertSystemDescriptions.m.
Referenced by OOConvertSystemDescriptionsToArrayFormat().
NSArray * OOConvertSystemDescriptionsToArrayFormat | ( | NSDictionary * | descriptionsInDictionaryFormat, |
NSDictionary * | indicesToKeys ) |
Definition at line 156 of file OOConvertSystemDescriptions.m.
References ConvertKeysToIndices(), count, HighestIndex(), InitKeyToIndexDict(), KeyToIndex(), and nil.
Referenced by CompileSystemDescriptions().
NSDictionary * OOConvertSystemDescriptionsToDictionaryFormat | ( | NSArray * | descriptionsInArrayFormat, |
NSDictionary * | indicesToKeys ) |
Definition at line 200 of file OOConvertSystemDescriptions.m.
References ConvertIndicesToKeys(), IndexToKey(), and nil.
Referenced by ExportSystemDescriptions().
NSString * OOStringifySystemDescriptionLine | ( | NSString * | line, |
NSDictionary * | indicesToKeys, | ||
BOOL | useFallback ) |
Definition at line 226 of file OOConvertSystemDescriptions.m.
References IndexToKey(), and nil.