结构型设计模式 Structural Patterns :适配器 Adapter(C++ 实现)
Posted shiter
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了结构型设计模式 Structural Patterns :适配器 Adapter(C++ 实现)相关的知识,希望对你有一定的参考价值。
文章大纲
Structural Patterns | |
---|---|
Adapter | Match interfaces of different classes |
Bridge | Separates an object’s interface from its implementation |
Composite | A tree structure of simple and composite objects |
Decorator | Add responsibilities to objects dynamically |
Facade | A single class that represents an entire subsystem |
Flyweight | A fine-grained instance used for efficient sharing |
Proxy | An object representing another |
以上是关于结构型设计模式 Structural Patterns :适配器 Adapter(C++ 实现)的主要内容,如果未能解决你的问题,请参考以下文章
编程思想设计模式结构模式Structural享元模式flyweight
结构型设计模式 Structural Patterns :适配器 Adapter(C++ 实现)
设计模式初识结构型模式(Structural Pattern)
九 合成(Composite)模式 --结构模式(Structural Pattern)