Function
Retrieves a named attribute from an Object, verifies that its contents are an integer number, and returns that number.
Syntax
#include <dx/dx.h>
Object DXGetIntegerAttribute(Object o, char *name, int *x)
Functional Details
Retrieves the attribute specified by the string name from Object o. It then verifies that the attribute contains a scalar integer value. If x is not NULL, the integer value is returned in *x.
Return Value
Returns o or returns NULL without setting an error code.
See Also
DXGetAttribute, DXGetEnumeratedAttribute, DXGetFloatAttribute, DXGetStringAttribute, DXSetAttribute, DXDeleteAttribute, DXSetFloatAttribute, DXSetIntegerAttribute, DXSetStringAttribute
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]