ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/primitives/StuntDouble.hpp
(Generate patch)

Comparing trunk/src/primitives/StuntDouble.hpp (file contents):
Revision 1359 by gezelter, Tue Oct 21 18:23:31 2008 UTC vs.
Revision 1360 by cli2, Mon Sep 7 16:31:51 2009 UTC

# Line 1012 | Line 1012 | namespace oopse{
1012  
1013      /**
1014       * <p>
1015 <     * The purpose of the Visitor Pattern is to encapsulate an operation that you want to perform on
1016 <     * the elements of a data structure. In this way, you can change the operation being performed
1017 <     * on a structure without the need of changing the classes of the elements that you are operating
1018 <     * on. Using a Visitor pattern allows you to decouple the classes for the data structure and the
1019 <     * algorithms used upon them
1015 >     * The purpose of the Visitor Pattern is to encapsulate an
1016 >     * operation that you want to perform on the elements of a data
1017 >     * structure. In this way, you can change the operation being
1018 >     * performed on a structure without the need of changing the
1019 >     * classes of the elements that you are operating on. Using a
1020 >     * Visitor pattern allows you to decouple the classes for the data
1021 >     * structure and the algorithms used upon them
1022       * </p>
1023       * @param v visitor
1024       */      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines