|
Oolite
|
import "OOPListParsing.h"import "OOLogging.h"import "OOStringParsing.h"import "NSDataOOExtensions.h"#include <ctype.h>#include <string.h>
Include dependency graph for OOPListParsing.m:Go to the source code of this file.
Macros | |
| #define | NO_DYNAMIC_PLIST_DTD_CHANGE |
Functions | |
| static NSData * | CopyDataFromFile (NSString *path) |
| static id | ValueIfClass (id value, Class class) |
| id | OOPropertyListFromData (NSData *data, NSString *whereFrom) |
| id | OOPropertyListFromFile (NSString *path) |
| NSDictionary * | OODictionaryFromData (NSData *data, NSString *whereFrom) |
| NSDictionary * | OODictionaryFromFile (NSString *path) |
| NSArray * | OOArrayFromData (NSData *data, NSString *whereFrom) |
| NSArray * | OOArrayFromFile (NSString *path) |
Variables | |
| static NSString *const | kOOLogPListFoundationParseError = @"plist.parse.failed" |
| static NSString *const | kOOLogPListWrongType = @"plist.wrongType" |
| #define NO_DYNAMIC_PLIST_DTD_CHANGE |
Definition at line 35 of file OOPListParsing.m.
|
static |
Definition at line 173 of file OOPListParsing.m.
References kOOLogFileNotFound, nil, and OOLog.
Referenced by OOPropertyListFromFile().
Here is the caller graph for this function:| NSArray * OOArrayFromData | ( | NSData * | data, |
| NSString * | whereFrom | ||
| ) |
Definition at line 215 of file OOPListParsing.m.
References OOPropertyListFromData(), and ValueIfClass().
Here is the call graph for this function:| NSArray * OOArrayFromFile | ( | NSString * | path | ) |
Definition at line 222 of file OOPListParsing.m.
References OOPropertyListFromFile(), and ValueIfClass().
Referenced by OOScript::descriptionComponents.
Here is the call graph for this function:
Here is the caller graph for this function:| NSDictionary * OODictionaryFromData | ( | NSData * | data, |
| NSString * | whereFrom | ||
| ) |
Definition at line 201 of file OOPListParsing.m.
References OOPropertyListFromData(), and ValueIfClass().
Here is the call graph for this function:| NSDictionary * OODictionaryFromFile | ( | NSString * | path | ) |
Definition at line 208 of file OOPListParsing.m.
References OOPropertyListFromFile(), and ValueIfClass().
Referenced by NSFileManager(OOExtensions)::commanderContentsOfPath:, and LoadExplicitSettings().
Here is the call graph for this function:
Here is the caller graph for this function:| id OOPropertyListFromData | ( | NSData * | data, |
| NSString * | whereFrom | ||
| ) |
Definition at line 51 of file OOPListParsing.m.
References kOOLogPListFoundationParseError, nil, and OOLog.
Referenced by OOArrayFromData(), OODictionaryFromData(), and OOPropertyListFromFile().
Here is the caller graph for this function:| id OOPropertyListFromFile | ( | NSString * | path | ) |
Definition at line 80 of file OOPListParsing.m.
References CopyDataFromFile(), nil, and OOPropertyListFromData().
Referenced by OOArrayFromFile(), and OODictionaryFromFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 230 of file OOPListParsing.m.
References kOOLogPListWrongType, nil, and OOLog.
Referenced by OOArrayFromData(), OOArrayFromFile(), OODictionaryFromData(), and OODictionaryFromFile().
Here is the caller graph for this function:
|
static |
Definition at line 39 of file OOPListParsing.m.
Referenced by OOPropertyListFromData().
|
static |
Definition at line 40 of file OOPListParsing.m.
Referenced by ValueIfClass().