AcquireNodes Data Member Function

Transfers ownership of all <Node> objects from the source <NodeBuffer> to this <NodeBuffer>, provided this <NodeBuffer> contains non-owning pointers to the <Node> objects. The owning pointers in the source <NodeBuffer> are replaced with null pointers, and the non-owning pointers in hte destination are replaced with owning pointers. The overall memory layout of the source <NodeBuffer> does not change. (No deallocation occurs inside the source <NodeBuffer> when the owning pointers are transferred.)

Prototype

int32 AcquireNodes( NodeBuffer p_oBuffer )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_oBufferA pointer to the source <NodeBuffer>.

Examples

Copy Text To Clipboard

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