/* ****************************************************************** * * Marcos Abreu Bento * * marcosbento@gmail.com * * ------------------------------------------------------------------ * * My implementation of Factory Method design pattern * * ****************************************************************** */ #ifndef BIGPRODUCT_HPP_ #define BIGPRODUCT_HPP_ #include #include "Product.hpp" class BigProduct: public Product { public: virtual ~BigProduct() {}; virtual void doFeature() { std::cout << "Big Product feature..." << std::endl; }; }; #endif