Public Member Functions

CC3LocalContentNodeEvaluator Class Reference

A type of CC3NodeEvaluator that specializes in evaluating only CC3Nodes with local content. More...

#import <CC3NodeSequencer.h>

Inheritance diagram for CC3LocalContentNodeEvaluator:
CC3NodeEvaluator CC3LocalContentNodeAcceptor CC3NodeOpacityEvaluator

List of all members.

Public Member Functions

(BOOL) - evaluateLocalContentNode:

Detailed Description

The evalute: method checks the hasLocalContent property of the node. If the node does not have local content, the evaluate: method returns NO indicating that the evaluation failed.

If the node does have local content, the node is cast to an instance of CC3LocalContentNode and passed to the evaluateLocalContentNode: for further evaluation.


Member Function Documentation

- (BOOL) evaluateLocalContentNode: (CC3LocalContentNode *)  lcNode

Performs the evaluation defined by this class on the specified node, which must be a type of CC3LocalContentNode, and returns YES if the node is accepted, or NO if it is rejected.

This default implementation simply returns NO, meaning that all CC3LocalContentNodes will be rejected. Since all other nodes have also been rejected by the evaluate: method prior to invoking this method, the effect of this class is to reject all nodes.


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