gobj_is_readable_attr()#
Checks if a given attribute of a hgobj is readable, meaning it has the SDF_RD flag set.
Prototype
BOOL gobj_is_readable_attr(
hgobj gobj,
const char *name
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The |
|
|
The name of the attribute to check. |
Return Value
Returns TRUE if the attribute is readable (SDF_RD flag is set), otherwise returns FALSE.
Notes
If the attribute does not exist, the function returns FALSE and logs an error.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples