Add Data Member Function

Adds a <Type> derived object 'Obj' to the <List>. The <List> then owns the object and the object will be deleted when the <List> is deleted.

Prototype

int32 Add( Type p_oObject )

Parameters

Parameter Type Parameter Name Documentation
<Type>p_oObjectA pointer to the object to add to the <List>.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.