Union Data Member Function

Populates a <TypeBuffer> with the union of two sets.

Prototype

int32 Union( TypeBuffer a, TypeBuffer b, TypeBuffer union )

Parameters

Parameter Type Parameter Name Documentation
<TypeBuffer>aA pointer to the first <TypeBuffer>.
<TypeBuffer>bA pointer to the second <TypeBuffer>.
<TypeBuffer>unionA pointer to the <TypeBuffer> that will store the union. Note that pointers to types in the <TypeBuffer> representing the union are always non-owning.

Examples

Copy Text To Clipboard

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