]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add comment about design patterns, and prototypes.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 19 Dec 2002 23:43:14 +0000 (23:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 19 Dec 2002 23:43:14 +0000 (23:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@6860 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/include/base/parameter_handler.h

index e3fdb1999db260ab3bcacafd3fc688b7bead17a0..5a25b13ae884a40030e88d8cbc72db7eb576c03a 100644 (file)
@@ -41,7 +41,14 @@ namespace Patterns
 {
                                   /**
                                    * Base class to declare common
-                                   * interface.
+                                   * interface. The purpose of this
+                                   * class is mostly to define the
+                                   * interface of patterns, and to
+                                   * force derived classes to have a
+                                   * @p{clone} function. It is thus,
+                                   * in the languages of the "Design
+                                   * Patterns" book (Gamma et al.), a
+                                   * "prototype".
                                     */
   class PatternBase
   {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.