Difference between revisions of "Visitor"

From CDOT Wiki
Jump to: navigation, search
Line 1: Line 1:
== Observer Pattern ==
+
== Visitor Pattern ==
  
  
'''Intent:''' <br>
 
 
Represents an operation to be performed on the elements of an object Structure. Visitor lets
 
Represents an operation to be performed on the elements of an object Structure. Visitor lets
 
you define a new operation withou changing the classes of the elements on which it operates.
 
you define a new operation withou changing the classes of the elements on which it operates.

Revision as of 21:51, 8 April 2007

Visitor Pattern

Represents an operation to be performed on the elements of an object Structure. Visitor lets you define a new operation withou changing the classes of the elements on which it operates.