联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Run Time Class Handler: Instantiating Cl - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    With this class I was able to simply add a file with a new class to my project and to instantiate new objects from this class simply by altering or adding the name of the class in the database or in configuration files.   This way I didn't need to add code for the support of the added class to existing code or to register the class with class factories.

    So this is VERY useful if you like to disconnect classes from each other on compile level or to avoid making special class factories.

    使用这个类,我可以在项目中简单地增加一个新文件,通过在数据库或配置文件中修改或增加一个这个类的新对象名来增加这个类的实例。用这种方式我们不需要在现存的代码中为支持新增加的类而增加代码,也不需要用类工厂注册新类。
    所以如果你喜欢将各个类在编译级上分离,或避免生成特定的类工厂,这个类是非常有用的。
    来源: http://www.codeguru.com/cpp_mfc/Rclass.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    RClass  1.0  2004-04-13 下载

    原始下载连接(国外) http://www.codeguru.com/code/legacy/cpp_mfc/RClass_src.zip

      » 合 作 伙 伴