MeshKit  1.0
SaveLastVisitor Class Reference
Inheritance diagram for SaveLastVisitor:

List of all members.

Public Member Functions

 SaveLastVisitor ()
 ~SaveLastVisitor ()
void visit (AF2RuleApplication const &ruleApp)
 Visit an AF2RuleApplication.
AF2RuleApplicationgetLast () const
unsigned int getVisitCount () const

Private Attributes

unsigned int count
AF2RuleApplicationlastRuleApp

Detailed Description

Definition at line 59 of file dfltTriRules.cpp.


Constructor & Destructor Documentation

SaveLastVisitor ( ) [inline]

Definition at line 65 of file dfltTriRules.cpp.

~SaveLastVisitor ( ) [inline]

Definition at line 71 of file dfltTriRules.cpp.


Member Function Documentation

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.

Parameters:
ruleAppA potential rule application of acceptable quality

Implements AF2RuleAppVisitor.

Definition at line 79 of file dfltTriRules.cpp.


Member Data Documentation

unsigned int count [private]

Definition at line 62 of file dfltTriRules.cpp.

Definition at line 63 of file dfltTriRules.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines