文件名称:Decorator-

  • 所属分类:
  • Windows编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2016-07-11
  • 文件大小:
  • 1.69mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 赵*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

在 OO 设计和开发过程,可能会经常遇到以下的情况:我们需要为一个已经定义好的类添加新的职责(操作),通常的情况我们会给定义一个新类继承自定义好的类,这样会带来一个问题。通过继承的方式解决这样的情况还带来了系统的复杂性,因为继承的深度会变得很深。 而 Decorator 提供了一种给类增加职责的方法,不是通过继承实现的,而是通过组合。-In OO design and development process you may often encounter the following situation: we need to add a new class has been defined responsibilities (operations), usually we will define a new class that inherits the class defined, this will bring a problem. Through inheritance way to solve this situation also brings complexity of the system, because the depth of the inheritance will become deep. The Decorator is provided a method to the class increased responsibilities, not through inheritance, but by a combination thereof.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





装饰模式\Debug\装饰模式.exe

........\.....\装饰模式.ilk

........\.....\装饰模式.pdb

........\装饰模式\Debug\CL.read.1.tlog

........\........\.....\CL.write.1.tlog

........\........\.....\Decorator.obj

........\........\.....\link-cvtres.read.1.tlog

........\........\.....\link-cvtres.write.1.tlog

........\........\.....\link-rc.read.1.tlog

........\........\.....\link-rc.write.1.tlog

........\........\.....\link.read.1.tlog

........\........\.....\link.write.1.tlog

........\........\.....\main.obj

........\........\.....\vc110.idb

........\........\.....\vc110.pdb

........\........\.....\装饰模式.Build.CppClean.log

........\........\.....\装饰模式.lastbuildstate

........\........\.....\装饰模式.log

........\........\Decorator.cpp

........\........\Decorator.h

........\........\main.cpp

........\........\装饰模式.vcxproj

........\........\装饰模式.vcxproj.filters

........\装饰模式.sdf

........\装饰模式.sln

........\装饰模式.v11.suo

........\........\Debug

........\Debug

........\装饰模式

装饰模式

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org