AcquireObjs Data Member Function

Transfers ownership of all <Type> objects from the source <TypeBuffer> to this <TypeBuffer>, provided this <TypeBuffer> contains non-owning pointers to the <Type> objects. The owning pointers in the source <TypeBuffer> 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 <TypeBuffer> does not change. (No deallocation occurs inside the source <TypeBuffer> when the owning pointers are transferred.)

Prototype

int32 AcquireObjs( TypeBuffer p_oBuffer )

Parameters

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

Examples

Copy Text To Clipboard

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