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