gang-of-4-patterns AT lists.siebelschool.illinois.edu
Subject: Design Patterns discussion
List archive
- From: Lívio Cipriano <lcipriano AT iol.pt>
- To: Roman Neuhauser <neuhauser AT sigpipe.cz>
- Cc: gang-of-4-patterns AT cs.uiuc.edu
- Subject: Re: [gang-of-4-patterns] Visitor Pattern
- Date: Sat, 19 Aug 2006 11:30:35 +0100
- List-archive: <http://lists.cs.uiuc.edu/pipermail/gang-of-4-patterns>
- List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>
Hi Roman,
The original Visitor pattern only addresses the "application" of the Visitor
to one Node (in a tree structure). Of course that was only an example, cause
the basic utility of this pattern is to add operations to a set of related
Classes.
My problem is that I've a tree structure, I've Visitores and I need to
traversal the tree applying the Visitores, so I'm looking for an example how
to do it. Some idea?
Regards
Lívio Cipriano
----- Original Message -----
#
lcipriano AT iol.pt
/ 2006-08-19 10:48:13 +0100:
> I would like to find a pattern, maybe using the Visitor one, that can
> be used to traversal a tree.
What is your question?
- [gang-of-4-patterns] Visitor Pattern, Lívio Cipriano, 08/19/2006
- Message not available
- Re: [gang-of-4-patterns] Visitor Pattern, Lívio Cipriano, 08/19/2006
- Re: [gang-of-4-patterns] Visitor Pattern, Atsushi Tanabe, 08/19/2006
- Re: [gang-of-4-patterns] Visitor Pattern, Roman Neuhauser, 08/19/2006
- Re: [gang-of-4-patterns] Visitor Pattern, Lívio Cipriano, 08/20/2006
- Re: [gang-of-4-patterns] Visitor Pattern, Lívio Cipriano, 08/19/2006
- Re: [gang-of-4-patterns] Visitor Pattern, Wayne Cannon, 08/19/2006
- <Possible follow-up(s)>
- [gang-of-4-patterns] Visitor Pattern, Lívio Cipriano, 08/19/2006
- Message not available
Archive powered by MHonArc 2.6.16.