Structure.getUint

Sets the uint pointed to by @value corresponding to the value of the given field. Caller is responsible for making sure the field exists and has the correct type.

class Structure
bool
getUint
(
string fieldname
,
out uint value
)

Parameters

fieldname string

the name of a field

value uint

a pointer to a uint to set

Return Value

Type: bool

%TRUE if the value could be set correctly. If there was no field with @fieldname or the existing field did not contain a uint, this function returns %FALSE.

Meta