Class ITreeEnumProc
See Also: Class IScene, Class INode.
class ITreeEnumProc
Description:
This is the callback object used by IScene::EnumTree(). To use it, derive a class from this class, and implement the callback method.
Methods:
Prototype:
virtual int callback( INode *node )=0;
Remarks:
Implemented by the Plug-In.
This method may flag the node passed based on some property of the node.
Parameters:
INode *node
The node. The INode class has a method FlagForeground() that may be used to flag this node to go into the foreground.
Return Value:
One of the following values may be returned to control how enumeration continues:
TREE_CONTINUE
Continue enumerating.
TREE_IGNORECHILDREN
Don't enumerate the children of this node, but continue enumerating.
TREE_ABORT
Stop enumerating.