Visitor

From CDOT Wiki
Revision as of 20:48, 8 April 2007 by Snnaraid (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Visitor Pattern


Intent:
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.