AllocateType Data Member Function

Allocates <Node> objects of the specified type and transfers ownership of the <Node> objects to the <NodeBuffer>.

Prototype

int32 AllocateType( NodeBuffer p_oBuffer, TypeInformation p_oTypeInfo, int32 p_nCount )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_oBufferA pointer to the <NodeBuffer> that owns the new <Node> objects.
TypeInformationp_oTypeInfoA pointer to the <TypeInformation> object representing the type of <Node> to allocate.
int32p_nCountThe number of <Node> objects to allocate.

Examples

Copy Text To Clipboard

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