Static Public Member Functions | Properties

CC3NodeVisitor Class Reference

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>

Inheritance diagram for CC3NodeVisitor:
CC3NodeDrawingVisitor CC3NodeUpdatingVisitor CC3NodePickingVisitor

List of all members.

Static Public Member Functions

(id) + visitor

Properties

BOOL shouldVisitChildren

Detailed Description

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.


Member Function Documentation

+ (id) visitor

Allocates and initializes an autoreleased instance.


Property Documentation

- (BOOL) shouldVisitChildren [read, write, assign]

Indicates whether nodes should propagate visits to their children.

The default initial value is YES.


The documentation for this class was generated from the following file: