设计模式之 外观模式
class Hand { }; class Leg { }; class Body { }; class Person { public: Person(void); ~Person(void); public: void fetch(void); void run(void); void sleep(void); private: Hand *hand_; Leg *leg_; Body *body_; };
class Hand { }; class Leg { }; class Body { }; class Person { public: Person(void); ~Person(void); public: void fetch(void); void run(void); void sleep(void); private: Hand *hand_; Leg *leg_; Body *body_; };