MeshKit
1.0
|
Public Member Functions | |
SaveLastVisitor () | |
~SaveLastVisitor () | |
void | visit (AF2RuleApplication const &ruleApp) |
Visit an AF2RuleApplication. | |
AF2RuleApplication * | getLast () const |
unsigned int | getVisitCount () const |
Private Attributes | |
unsigned int | count |
AF2RuleApplication * | lastRuleApp |
Definition at line 59 of file dfltTriRules.cpp.
SaveLastVisitor | ( | ) | [inline] |
Definition at line 65 of file dfltTriRules.cpp.
~SaveLastVisitor | ( | ) | [inline] |
Definition at line 71 of file dfltTriRules.cpp.
AF2RuleApplication* getLast | ( | ) | const [inline] |
Definition at line 89 of file dfltTriRules.cpp.
unsigned int getVisitCount | ( | ) | const [inline] |
Definition at line 94 of file dfltTriRules.cpp.
void visit | ( | AF2RuleApplication const & | ruleApp | ) | [inline, virtual] |
Visit an AF2RuleApplication.
This pure virtual method provides an interface for an AF2RuleAppVisitor to examine and process AF2RuleApplication objects that represent ways that a rule could successfully be applied. When an AF2RuleAppVisitor is passed to the applyRule method of an AF2Rule, each acceptable quality potential application of the rule will be passed to the AF2RuleAppVisitor as an AF2RuleApplication for processing.
This method may change the state of the visitor.
ruleApp | A potential rule application of acceptable quality |
Implements AF2RuleAppVisitor.
Definition at line 79 of file dfltTriRules.cpp.
unsigned int count [private] |
Definition at line 62 of file dfltTriRules.cpp.
AF2RuleApplication* lastRuleApp [private] |
Definition at line 63 of file dfltTriRules.cpp.