AcquireValue Data Member Function

Moves, or copies, the value from the source <VariableNode> to the destination <VariableNode>. Value acquisition is accomplished by copying or moving. Move is not available in all use cases.

Prototype

int32 AcquireValue( VariableNode p_oSource, int32 p_nUseMoveSemantics )

Parameters

Parameter Type Parameter Name Documentation
<VariableNode>p_oSourceA pointer to the source <VariableNode>.
int32p_nUseMoveSemanticsAn <int32> where 0 means 'copy the value from the source to the destination', and 1 means 'move the value form the source to the destination'. Move semantics are only applicable to <VariableArrayNode> types.

Examples

Copy Text To Clipboard

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