ConsumeConfigNodes Data Member Function

Performs a breadth first search of a node hierarchy and for all ConfigNode-derived types, populates a <NodeBuffer> with a non-owning pointer to the ConfigNode and populates a <StrList> with the absolute path represented by the ConfigNode. This method is specifically designed to offer enhanced performance for this operation in Scenome Scripting Language.

Prototype

int32 ConsumeConfigNodes( StrList paths, NodeBuffer nodes )

Parameters

Parameter Type Parameter Name Documentation
<StrList>pathsA pointer to the <StrList> that stores the result of calling the <ConfigNode> object's .GetAbsolutePath() method.
<NodeBuffer>nodesA pointer to the <NodeBuffer> that stores a non-owning pointer to any ConfigNode-derived type discovered during traversal.

Examples

Copy Text To Clipboard

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