Public Member Functions

ITreeEnumProc Class Reference

This reference page is linked to from the following overview topics: Scene Graph.


Search for all occurrences

Detailed Description

See also:
Class IScene, Class INode.

Description:
This is the callback object used by IScene::EnumTree(). To use it, derive a class from this class, and implement the callback method.

#include <inode.h>

Inheritance diagram for ITreeEnumProc:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual  ~ITreeEnumProc ()
virtual int  callback (INode *node)=0

Constructor & Destructor Documentation

virtual ~ITreeEnumProc ( ) [inline, virtual]
{ }

Member Function Documentation

virtual int callback ( INode node ) [pure virtual]
Remarks:
This method may flag the node passed based on some property of the node.
Parameters:
node The node. The INode class has a method FlagForeground() that may be used to flag this node to go into the foreground.
Returns:
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.

ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc
ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc ITreeEnumProc