[创建型模式] Prototype
摘要:
Prototype.h//// Prototype.h// Prototype//// Created by Cheney Shen on 11-2-20.// Copyright 2011年 __MyCompanyName__. All rights reserved.//#ifndef _PROTOTYPE_H_#define _PROTOTYPE_H_class Prototype{ public: virtual ~Prototype(); virtual Prototype* Clone() const = 0; protected: Prototype(); private: }; 阅读全文
posted @ 2011-03-10 03:05 Cheney Shen 阅读(158) 评论(0) 推荐(0) 编辑