LS2CodeBoxValue

From ismods.com: dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
Revision as of 10:06, 25 November 2012 by Whiteslax (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A LS2CodeBoxValue provides generic methods of accessing a particular unspecified value. Arithmetic, logic, bitwise operations, and basic type conversions may be supported by any value type.

LS2CodeBoxValue is an abstract class, meant to be subclassed to provide storage and implementation for any type of value.

The LavishScript 1 equivalent of LS2CodeBoxValue is LSOBJECT. By contrast, a LSOBJECT is never subclassed, only stores 32-bit values, and is not reference counted.

LS2CodeBoxValue is defined in LS2CodeBoxValue.h