CC3LocalContentNodeEvaluator Class Reference
Inherits from | CC3NodeEvaluator : NSObject |
Declared in | CC3NodeSequencer.h |
Overview
A type of CC3NodeEvaluator that specializes in evaluating only CC3Nodes with local content.
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.
Instance Methods
evaluateLocalContentNode:
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.
- (BOOL)evaluateLocalContentNode:(CC3LocalContentNode *)lcNode
Discussion
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.
Declared In
CC3NodeSequencer.h