CreateObject
Creates an object of the given class.
Synopsis
COBObject *CreateObject( COBClass *Class )
Description
This function is part of the Juggler object-oriented toolbox that supports the various classes of Juggler objects. This function creates an object of the given class. Execute the object's Init()
method to correctly set up the object.
Arguments
- Class
- A pointer to the COBClass data structure for the class (currently available: &SequenceClass and &CollectionClass as defined in juggler.h).
Return Value
This function returns a pointer to the COBObject data structure defining the object if successful or an error code (a negative value) if an error occurs.
Implementation
Library call implemented in music.lib V20.
Associated Files
cobj.h, music.lib
See Also
DefineClass
(), DestroyObject(), ValidateObject()