[ogs-changes] dist/c++/ogs/support Attachable.h,1.1,1.2
Status: Alpha
Brought to you by:
elemings
From: <ele...@us...> - 2003-04-15 16:59:25
|
Update of /cvsroot/ogs/dist/c++/ogs/support In directory sc8-pr-cvs1:/tmp/cvs-serv20206/c++/ogs/support Modified Files: Attachable.h Log Message: See C++ ChangeLog (Apr 15) for details. Index: Attachable.h =================================================================== RCS file: /cvsroot/ogs/dist/c++/ogs/support/Attachable.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Attachable.h 25 Mar 2003 06:13:15 -0000 1.1 --- Attachable.h 15 Apr 2003 16:58:50 -0000 1.2 *************** *** 33,40 **** /** ! * An object that can be attached to another object. While attached, a ! * attachable may modify the object that it is attached to. These ! * modifications should be reversible if and when the attachable is ! * detached from the object. */ class Attachable { --- 33,43 ---- /** ! * An object that can be attached to another object. An attachable ! * object follows the Decorator design pattern. While attached, an ! * attachable object may (or may not) modify its subject (the object ! * that it is attached to). These modifications may (or may not) be ! * reversible when (and if) the attachable is detached from the subject. ! * Attachable objects that do not modify the subject simply add ! * additional detail to the object. */ class Attachable { |