User Tools

Site Tools


wiki:core_design_composite

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:core_design_composite [2008/10/18 11:59]
127.0.0.1 external edit
wiki:core_design_composite [2014/07/21 13:56] (current)
mariuz
Line 1: Line 1:
-GoF Composite pattern((sorry couldn'​t now upload files to sf.net from here))+GoF Composite pattern ​
  
 {{http://​sapunidze.narod.ru/​composite.png}} {{http://​sapunidze.narod.ru/​composite.png}}
Line 5: Line 5:
 One difference from current approach: The Collection should IMHO contain pointers to Item objects, rather than objects themselves. This allow us to remove the (not nice) getChildren method, and use iterators instead. One difference from current approach: The Collection should IMHO contain pointers to Item objects, rather than objects themselves. This allow us to remove the (not nice) getChildren method, and use iterators instead.
  
-I (Milan) also think that we may remove ​Y and Yx prefixes for classes. They didn't prove themselves needed since we have namespace for IBPP classes, and all wxWidgets classes have wx prefix. BTW, some of the newer code already doesn'​t have prefixes. ​+Milan removed ​Y and Yx prefixes for classes. They didn't prove themselves needed since we have namespace for IBPP classes, and all wxWidgets classes have wx prefix. BTW, some of the newer code already doesn'​t have prefixes. ​
  
wiki/core_design_composite.txt ยท Last modified: 2014/07/21 13:56 by mariuz