设计模式之一雨田示例

1004阅读 0评论2012-09-24 时间看来
分类:C/C++


creational:
factory        &fruit
builder        &car
prototype    &circle
singleton    &configurefile

structural:
adapter        &CCircle借用一下XCircle的显示操作
bridge        &draw_lib
composite    & a student, a group of students, teacher. tree .
decorator    &child eat
facade         &compiler
flyweight    &bookinfo of library
proxy        &CBuyerProxy

behavioral:
chainofresponsibility    &a child want to eat apple, mom, father, grandmother,,,
command        &Invoker
interpreter    &
iterator    &STL arraylist : an array + cnt
mediator    &colleague A B C
memento        &originator memento
observer    &officeDoc
state        &trafficLight
strategy    &debug, showstrategy-logstrategy
template method &catch MM
visitor        &element and visitor

 设计模式(C++)源代码 一雨田.rar  







上一篇:UML Object Diagram
下一篇:LDD3 源代码编译 和 目录结构