CloneChildrenToBuffer Data Member Function

Clones the child <Node> objects and transfers ownership of them to the specified <NodeBuffer>.

Prototype

int32 CloneChildrenToBuffer( TypeInformation p_oTypeInfo, NodeBuffer p_oBuffer, int32 p_bDetach )

Parameters

Parameter Type Parameter Name Documentation
TypeInformationp_oTypeInfoA <TypeInformation> pointer representing the child type to clone.
<NodeBuffer>p_oBufferA pointer to a <NodeBuffer>.
int32p_bDetachIf true, detaches the cloned <Node> objects from their parent, which detaches them from the document. Use this if you wish to reparent the <Node> objects under a new parent, or to transfer cloned <Node> objects from one document to another.

Examples

Copy Text To Clipboard

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