(C) 1998 AROS - The Amiga Research OS


NAME
#include <intuition/classusr.h>
#include <proto/boopsi.h>

ULONG GetAttr (attrID , object , storagePtr)

LOCATION
In BOOPSIBase at offset 9

SYNOPSIS
ULONG attrID
Object * object
IPTR * storagePtr

FUNCTION
Asks the specified object for the value of an attribute. This is not possible for all attributes of an object. Read the documentation for the class to find out which can be read and which can't.

INPUTS
attrID
ID of the attribute you want
object
Ask the attribute from this object
storagePtr
This is a pointer to memory which is large enough to hold a copy of the attribute. Most classes will simply put a copy of the value stored in the object here but this behaviour is class specific. Therefore read the instructions in the class description carefully.

RESULT
Mostly TRUE if the method is supported for the specified attribute and FALSE if it isn't or the attribute can't be read at this time. See the classes documentation for details.

EXAMPLE

SEE ALSO
NewObject(), DisposeObject(), SetAttr(), MakeClass(), "Basic Object-Oriented Programming System for Intuition" and "boopsi Class Reference" Dokument.

NOTES
This function sends OM_GET to the object.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
23.10.1997 digulla
Added files from iaint