A CC3NodeVisitor is a context object that is passed to a node when it is visited during a traversal of the node hierarchy. More...
#import <CC3NodeVisitor.h>
Static Public Member Functions | |
(id) | + visitor |
Properties | |
BOOL | shouldVisitChildren |
A CC3NodeVisitor is a context object that is passed to a node when it is visited during a traversal of the node hierarchy.
The traversal of the node structural hierarchy is handled by the node, using contextual information contained in the visitor.
The visitor class may also determine some or all of the activities that will occur during the traversal of the node hierarchy.
This base implementation does nothing. Subclasses can perform specialized functions when visiting the nodes, such as drawing, accumulating information, or comparing.
+ (id) visitor |
Allocates and initializes an autoreleased instance.
- (BOOL) shouldVisitChildren [read, write, assign] |
Indicates whether nodes should propagate visits to their children.
The default initial value is YES.