|
Oolite
|
import "OOJavaScriptEngine.h"Go to the source code of this file.
| OOINLINE OOCompassMode OOCompassModeFromJSValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 91 of file OOConstToJSString.h.
References gOOCompassModeConstTable, kOOCompassModeDefault, OOConstantFromJSValuePRIVATE(), and OOINLINE.
| NSUInteger OOConstantFromJSValuePRIVATE | ( | JSContext * | context, |
| JSValueConst | value, | ||
| struct ConstTable * | table, | ||
| NSInteger | defaultValue ) |
Definition at line 212 of file OOConstToJSString.m.
References TableEntry::atom, ConstTable::count, count, ConstTable::entries, EXPECT_NOT, sInited, and TableEntry::value.
| void OOConstToJSStringDestroy | ( | void | ) |
Definition at line 149 of file OOConstToJSString.m.
References sInited.
| void OOConstToJSStringInit | ( | JSContext * | context | ) |
Definition at line 129 of file OOConstToJSString.m.
References gOOCompassModeConstTable, gOOEntityStatusConstTable, gOOGalacticHyperspaceBehaviourConstTable, gOOGUIScreenIDConstTable, gOOLegalStatusReasonConstTable, gOOLongRangeChartModeConstTable, gOOScanClassConstTable, gOOShipDamageTypeConstTable, gOOViewIDConstTable, InitTable(), sAtomsInterned, sInited, and sUndefinedAtom.
| OOINLINE OOEntityStatus OOEntityStatusFromJSValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 57 of file OOConstToJSString.h.
References gOOEntityStatusConstTable, kOOEntityStatusDefault, OOConstantFromJSValuePRIVATE(), and OOINLINE.
| OOINLINE OOGalacticHyperspaceBehaviour OOGalacticHyperspaceBehaviourFromJSValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 125 of file OOConstToJSString.h.
References gOOGalacticHyperspaceBehaviourConstTable, kOOGalacticHyperspaceBehaviourDefault, OOConstantFromJSValuePRIVATE(), and OOINLINE.
| OOINLINE OOGUIScreenID OOGUIScreenIDFromJSValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 108 of file OOConstToJSString.h.
References gOOGUIScreenIDConstTable, kOOGUIScreenIDDefault, OOConstantFromJSValuePRIVATE(), and OOINLINE.
| OOINLINE JSValue OOJSValueFromCompassMode | ( | JSContext * | context, |
| OOCompassMode | value ) |
Definition at line 85 of file OOConstToJSString.h.
References gOOCompassModeConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| JSValue OOJSValueFromConstantPRIVATE | ( | JSContext * | context, |
| NSInteger | value, | ||
| struct ConstTable * | table ) |
Definition at line 188 of file OOConstToJSString.m.
References TableEntry::atom, ConstTable::count, ConstTable::entries, sInited, sUndefinedAtom, and TableEntry::value.
Referenced by OOJSValueFromCompassMode(), OOJSValueFromEntityStatus(), OOJSValueFromGalacticHyperspaceBehaviour(), OOJSValueFromGUIScreenID(), OOJSValueFromLegalStatusReason(), OOJSValueFromScanClass(), OOJSValueFromShipDamageType(), and OOJSValueFromViewID().
| OOINLINE JSValue OOJSValueFromEntityStatus | ( | JSContext * | context, |
| OOEntityStatus | value ) |
Definition at line 51 of file OOConstToJSString.h.
References gOOEntityStatusConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| OOINLINE JSValue OOJSValueFromGalacticHyperspaceBehaviour | ( | JSContext * | context, |
| OOGalacticHyperspaceBehaviour | value ) |
Definition at line 119 of file OOConstToJSString.h.
References gOOGalacticHyperspaceBehaviourConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| OOINLINE JSValue OOJSValueFromGUIScreenID | ( | JSContext * | context, |
| OOGUIScreenID | value ) |
Definition at line 102 of file OOConstToJSString.h.
References gOOGUIScreenIDConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| OOINLINE JSValue OOJSValueFromLegalStatusReason | ( | JSContext * | context, |
| OOLegalStatusReason | value ) |
Definition at line 162 of file OOConstToJSString.h.
References gOOLegalStatusReasonConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| OOINLINE JSValue OOJSValueFromScanClass | ( | JSContext * | context, |
| OOScanClass | value ) |
Definition at line 68 of file OOConstToJSString.h.
References gOOScanClassConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| OOINLINE JSValue OOJSValueFromShipDamageType | ( | JSContext * | context, |
| OOShipDamageType | value ) |
Definition at line 152 of file OOConstToJSString.h.
References gOOShipDamageTypeConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
Definition at line 136 of file OOConstToJSString.h.
References gOOViewIDConstTable, OOINLINE, and OOJSValueFromConstantPRIVATE().
| OOINLINE OOScanClass OOScanClassFromJSValue | ( | JSContext * | context, |
| JSValueConst | value ) |
Definition at line 74 of file OOConstToJSString.h.
References gOOScanClassConstTable, kOOScanClassDefault, OOConstantFromJSValuePRIVATE(), and OOINLINE.
Definition at line 142 of file OOConstToJSString.h.
References gOOViewIDConstTable, kOOViewIDDefault, OOConstantFromJSValuePRIVATE(), and OOINLINE.