GetInfo Data Member Function

Populates objects with references to the data managed the <NodeSelector>.

Prototype

int32 GetInfo( NodeBuffer p_apNodes, Int32Array p_aiArraySizes, Int32Array p_aiArrayIndices, StrList p_slCodeObjectNames )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>p_apNodesA pointer to a <NodeBuffer> to populate with the <Node> objects managed by the <NodeSelector>. Since the <NodeSelector> has a non-owning relationship with these <Node> objects ( storing pointers to the <Node> objects rather than the <Node> objects themselves ).
<Int32Array>p_aiArraySizesAn <Int32Array> to populate with <int32> values representing the array sizes of the <Node> objects managed by the <NodeSelector>, where 0 indicates the <Node> does not represent any type of array, -1 indicates the <Node> represents an implicitly sized array, and any positive <int32> indicates the array size.
<Int32Array>p_aiArrayIndicesAn <Int32Array> to populate with <int32> values representing the array indices for objects managed by the <NodeSelector>. For example, if the <NodeSelector> manages a <BooleanArrayNode>, this <Int32Array> has a single entry that stores the index of the bool value stored by the <BooleanArrayNode>.
<StrList>p_slCodeObjectNamesA <StrList> to populate with the names of objects being managed by the <NodeSelector>.

Examples

Copy Text To Clipboard

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