seConvert
syntax: |
void seConvert(secontext se, seobject obj, semember mem, seConversionTarget type); |
where: |
se the context containing the variable
obj the object half of an Object,Member pair
mem the member half of an Object,Member pair
type the type to convert to.
|
return: |
None
|
description: |
This routine retrieves the value using a get from the Object,Member pair, converts it, and puts it back to the same location. The possible conversions are:
SE_TOPRIMITIVE
Convert to a primitive value. A primitive value is a non-object value.
SE_TOBOOLEAN
Converts to a boolean
SE_TONUMBER
Converts to a number
SE_TOINTEGER
Converts to an integer. It is system-dependent the range of an integer, but it corresponds to the int type on the system.
SE_TOINT32
Converts to a signed 32-bit integer
SE_TOUINT32
Converts to an unsigned 32-bit integer
SE_TOUINT16
Converts to an unsigned 16-bit integer
SE_TOSTRING
Converts to a string
SE_TOOBJECT
Converts to an object.
|
see: |
None
|