AcquireNode Data Member Function

Transfers ownership of a <Node> from the source <NodeBuffer> to this <NodeBuffer>. The owning pointer in the source <NodeBuffer> is replaced with a nullptr, and the overall memory layout of the source <NodeBuffer> does not change. (No deallocation occurs inside the source <NodeBuffer> when the owning pointer is transferred.)

Prototype

int32 AcquireNode( NodeBuffer src, Node p_oNode )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>srcA pointer to the <NodeBuffer>.
<Node>p_oNodeA pointer to the <Node> you wish to transfer to the destination <NodeBuffer>.

Examples

Copy Text To Clipboard

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