hoa_script::private_script Namespace Reference

An internal namespace to be used only by the scripting engine itself. Don't use this namespace anywhere else! More...


Variables

const int32 STACK_TOP = -1
 Used to reference to the top of a Lua stack.
const luabind::iterator TABLE_END
 Used to represent the end of a Lua table that is being iterated.
const int32 FLOAT_TYPE = 0x12344321
const int32 INTEGER_TYPE = 0x12345678
 Constants used in the ReadScriptDescriptor data existence checking functions These members are necessary because the Lua type constants defined do not distinguish between integers and floats (there is only a single LUA_TNUMBER). We, however, need to sometimes distinguish between the two types when reading in data. These constants were assigned arbitrary and unlikely values to be represented by other Lua types (which as of Lua 5.0, go from -1 to 8).
const int32 UINTEGER_TYPE = 0x87654321


Detailed Description

An internal namespace to be used only by the scripting engine itself. Don't use this namespace anywhere else!

Variable Documentation

const int32 hoa_script::private_script::FLOAT_TYPE = 0x12344321

Definition at line 39 of file script_read.h.

Referenced by hoa_script::ReadScriptDescriptor::_CheckDataType(), and hoa_script::ReadScriptDescriptor::DoesFloatExist().

const int32 hoa_script::private_script::INTEGER_TYPE = 0x12345678

Constants used in the ReadScriptDescriptor data existence checking functions These members are necessary because the Lua type constants defined do not distinguish between integers and floats (there is only a single LUA_TNUMBER). We, however, need to sometimes distinguish between the two types when reading in data. These constants were assigned arbitrary and unlikely values to be represented by other Lua types (which as of Lua 5.0, go from -1 to 8).

Definition at line 37 of file script_read.h.

Referenced by hoa_script::ReadScriptDescriptor::_CheckDataType(), and hoa_script::ReadScriptDescriptor::DoesIntExist().

const int32 hoa_script::private_script::STACK_TOP = -1

Used to reference to the top of a Lua stack.

Definition at line 82 of file script.h.

Referenced by hoa_script::ModifyScriptDescriptor::_AddNewData(), hoa_script::ReadScriptDescriptor::_DoesDataExist(), hoa_script::ModifyScriptDescriptor::_ModifyData(), hoa_script::ReadScriptDescriptor::_ReadData(), hoa_script::ReadScriptDescriptor::_ReadDataVectorHelper(), hoa_script::ReadScriptDescriptor::_ReadTableKeys(), hoa_script::ReadScriptDescriptor::GetTableSize(), hoa_script::ReadScriptDescriptor::OpenTable(), and hoa_script::ReadScriptDescriptor::ReadFunctionPointer().

const luabind::iterator hoa_script::private_script::TABLE_END

Used to represent the end of a Lua table that is being iterated.

Definition at line 85 of file script.h.

Referenced by hoa_script::ModifyScriptDescriptor::_ModifyData(), hoa_script::ReadScriptDescriptor::_ReadDataVectorHelper(), and hoa_script::ReadScriptDescriptor::_ReadTableKeys().

const int32 hoa_script::private_script::UINTEGER_TYPE = 0x87654321

Definition at line 38 of file script_read.h.

Referenced by hoa_script::ReadScriptDescriptor::_CheckDataType(), and hoa_script::ReadScriptDescriptor::DoesUIntExist().


Generated on Fri Jul 6 23:15:52 2007 for Hero of Allacrost by  doxygen 1.5.1