|
Oolite
|
Include dependency graph for OOStringParsing.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| category | NSString(OOUtilities) |
Functions | |
| NSMutableArray * | ScanTokensFromString (NSString *values) |
| BOOL | ScanVectorFromString (NSString *xyzString, Vector *outVector) |
| BOOL | ScanHPVectorFromString (NSString *xyzString, HPVector *outVector) |
| BOOL | ScanQuaternionFromString (NSString *wxyzString, Quaternion *outQuaternion) |
| BOOL | ScanVectorAndQuaternionFromString (NSString *xyzwxyzString, Vector *outVector, Quaternion *outQuaternion) |
| Vector | VectorFromString (NSString *xyzString, Vector defaultValue) |
| Quaternion | QuaternionFromString (NSString *wxyzString, Quaternion defaultValue) |
| NSString * | StringFromPoint (NSPoint point) |
| NSPoint | PointFromString (NSString *xyString) |
| Random_Seed | RandomSeedFromString (NSString *abcdefString) |
| NSString * | StringFromRandomSeed (Random_Seed seed) |
| NSString * | OOStringFromDeciCredits (OOCreditsQuantity tenthsOfCredits, BOOL includeDecimal, BOOL includeSymbol) |
| OOINLINE NSString * | OOStringFromIntCredits (OOCreditsQuantity integerCredits, BOOL includeSymbol) |
| OOINLINE NSString * | OOCredits (OOCreditsQuantity tenthsOfCredits) |
| OOINLINE NSString * | OOIntCredits (OOCreditsQuantity integerCredits) |
| NSString * | OOPadStringToEms (NSString *string, float numEms) |
| NSArray * | ComponentsFromVersionString (NSString *string) |
| NSComparisonResult | CompareVersions (NSArray *version1, NSArray *version2) |
| NSString * | ClockToString (double clock, BOOL adjusting) |
| NSString * ClockToString | ( | double | clock, |
| BOOL | adjusting | ||
| ) |
Definition at line 417 of file OOStringParsing.m.
Referenced by ClockClockStringForTime().
Here is the caller graph for this function:| NSComparisonResult CompareVersions | ( | NSArray * | version1, |
| NSArray * | version2 | ||
| ) |
Definition at line 385 of file OOStringParsing.m.
References nil.
Referenced by OoliteCompareVersion().
Here is the caller graph for this function:| NSArray * ComponentsFromVersionString | ( | NSString * | string | ) |
Definition at line 358 of file OOStringParsing.m.
References count, MAX, and nil.
Referenced by OoliteCompareVersion(), and VersionComponents().
Here is the caller graph for this function:| OOINLINE NSString * OOCredits | ( | OOCreditsQuantity | tenthsOfCredits | ) |
Definition at line 59 of file OOStringParsing.h.
References OOStringFromDeciCredits().
Referenced by Operator_cr(), and Operator_dcr().
Here is the call graph for this function:
Here is the caller graph for this function:| OOINLINE NSString * OOIntCredits | ( | OOCreditsQuantity | integerCredits | ) |
Definition at line 63 of file OOStringParsing.h.
References OOStringFromIntCredits().
Referenced by Operator_icr(), and Operator_idcr().
Here is the call graph for this function:
Here is the caller graph for this function:| NSString * OOPadStringToEms | ( | NSString * | string, |
| float | numEms | ||
| ) |
Definition at line 264 of file OOStringParsing.m.
References OOStringWidthInEm().
Here is the call graph for this function:| NSString * OOStringFromDeciCredits | ( | OOCreditsQuantity | tenthsOfCredits, |
| BOOL | includeDecimal, | ||
| BOOL | includeSymbol | ||
| ) |
Definition at line 284 of file OOStringParsing.m.
References EXPECT_NOT, OOJavaScriptEngine::globalObject, nil, OOJSAcquireContext(), OOJSID, OOJSRelinquishContext(), OOJSStartTimeLimiter, OOJSStopTimeLimiter, OOJSValueFromBOOL(), OOStringFromJSValue(), and OOJavaScriptEngine::sharedEngine.
Referenced by OOCredits(), and OOStringFromIntCredits().
Here is the call graph for this function:
Here is the caller graph for this function:| OOINLINE NSString * OOStringFromIntCredits | ( | OOCreditsQuantity | integerCredits, |
| BOOL | includeSymbol | ||
| ) |
Definition at line 54 of file OOStringParsing.h.
References OOStringFromDeciCredits().
Referenced by OOIntCredits().
Here is the call graph for this function:
Here is the caller graph for this function:| NSPoint PointFromString | ( | NSString * | xyString | ) |
Definition at line 209 of file OOStringParsing.m.
References ScanTokensFromString().
Here is the call graph for this function:| Quaternion QuaternionFromString | ( | NSString * | wxyzString, |
| Quaternion | defaultValue | ||
| ) |
Definition at line 195 of file OOStringParsing.m.
References ScanQuaternionFromString().
Here is the call graph for this function:| Random_Seed RandomSeedFromString | ( | NSString * | abcdefString | ) |
Definition at line 224 of file OOStringParsing.m.
References Random_Seed::a, Random_Seed::b, Random_Seed::c, Random_Seed::d, Random_Seed::e, Random_Seed::f, kNilRandomSeed, kOOLogStringRandomSeedConversion, nil, and OOLogERR.
Referenced by OOPlanetEntity::initFromDictionary:withAtmosphere:andSeed:forSystem:.
Here is the caller graph for this function:| BOOL ScanHPVectorFromString | ( | NSString * | xyzString, |
| HPVector * | outVector | ||
| ) |
Definition at line 103 of file OOStringParsing.m.
References ScanVectorFromString().
Referenced by OOHPVectorFromObject().
Here is the call graph for this function:
Here is the caller graph for this function:| BOOL ScanQuaternionFromString | ( | NSString * | wxyzString, |
| Quaternion * | outQuaternion | ||
| ) |
Definition at line 116 of file OOStringParsing.m.
References kOOLogStringQuaternionConversion, nil, and OOLogERR.
Referenced by OOQuaternionFromObject(), and QuaternionFromString().
Here is the caller graph for this function:| NSMutableArray * ScanTokensFromString | ( | NSString * | values | ) |
Definition at line 46 of file OOStringParsing.m.
References EXPECT_NOT, and nil.
Referenced by OORoleSet::anyRole, PointFromString(), SanitizeActionStatement(), and SanitizeCondition().
Here is the caller graph for this function:| BOOL ScanVectorAndQuaternionFromString | ( | NSString * | xyzwxyzString, |
| Vector * | outVector, | ||
| Quaternion * | outQuaternion | ||
| ) |
Definition at line 151 of file OOStringParsing.m.
References kOOLogStringQuaternionConversion, nil, and OOLogERR.
| BOOL ScanVectorFromString | ( | NSString * | xyzString, |
| Vector * | outVector | ||
| ) |
Definition at line 73 of file OOStringParsing.m.
References kOOLogStringVectorConversion, nil, and OOLogERR.
Referenced by OOVectorFromObject(), ScanHPVectorFromString(), and VectorFromString().
Here is the caller graph for this function:| NSString * StringFromPoint | ( | NSPoint | point | ) |
Definition at line 203 of file OOStringParsing.m.
| NSString * StringFromRandomSeed | ( | Random_Seed | seed | ) |
| Vector VectorFromString | ( | NSString * | xyzString, |
| Vector | defaultValue | ||
| ) |
Definition at line 187 of file OOStringParsing.m.
References ScanVectorFromString().
Here is the call graph for this function: