(C) 1998 AROS - The Amiga Research OS


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

APTR NewObjectA (classPtr , classID , tagList)

LOCATION
In BOOPSIBase at offset 11

SYNOPSIS
struct IClass * classPtr
UBYTE * classID
struct TagItem * tagList

FUNCTION
Use this function to create BOOPSI objects (BOOPSI stands for "Basic Object Oriented Programming System for Intuition).

You may specify a class either by it's name (if it's a public class) or by a pointer to its definition (if it's a private class). If classPtr is NULL, classID is used.

INPUTS
classPtr
Pointer to a private class (or a public class if you happen to have a pointer to it)
classID
Name of a public class
tagList
Initial attributes. Read the documentation of the class carefully to find out which attributes must be specified here and which can.

RESULT
A BOOPSI object which can be manipulated with general functions and which must be disposed with DisposeObject() later.

EXAMPLE

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

NOTES
This functions send OM_NEW to the dispatcher of the class.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
11.08.1998 srittau
Added some debug macros (but obviously they don't work?)
23.10.1997 digulla
Added files from iaint