-
Notifications
You must be signed in to change notification settings - Fork 13
Next: GetInstanceMemberCount
Gets the number of variables in a struct or instance.
AurieStatus GetInstanceMemberCount(
[in] RValue Object,
[out] int32_t& Count
);
An RValue containing the pointer to the instance object whose variables are to be counted. This variable must be of type VALUE_OBJECT
.
A reference to a 32-bit integer, which receives the number of variables stored in the struct / instance. Please note that built-in variables (such as x
, image_index
, etc.) are not counted.
The value stored in this variable prior to calling this function is guaranteed to remain unchanged if the function fails.
The function returns AURIE_SUCCESS
on success, otherwise returns a matching error code. If the internal runner function needed for enumerating instance members isn't available, the AURIE_UNAVAILABLE
status code is returned. The function returns AURIE_INVALID_PARAMETER
if the Object
parameter contains an invalid type.