MeshKit  1.0
TestVisitor Class Reference
Inheritance diagram for TestVisitor:

List of all members.

Public Member Functions

 TestVisitor ()
void visit (AF2RuleApplication const &ruleApp)
 Visit an AF2RuleApplication.
double getFirstX () const
unsigned int getVisitCount () const

Private Attributes

unsigned int count
double firstX

Detailed Description

Definition at line 47 of file triRule.cpp.

Constructor & Destructor Documentation

TestVisitor ( ) [inline]

Definition at line 53 of file triRule.cpp.

Member Function Documentation

double getFirstX ( ) const [inline]

Definition at line 71 of file triRule.cpp.

unsigned int getVisitCount ( ) const [inline]

Definition at line 76 of file triRule.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.

ruleAppA potential rule application of acceptable quality

Implements AF2RuleAppVisitor.

Definition at line 58 of file triRule.cpp.

Member Data Documentation

unsigned int count [private]

Definition at line 50 of file triRule.cpp.

double firstX [private]

Definition at line 51 of file triRule.cpp.

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