00001 // ConcreteBuilder 00002 class HawaiianPizzaBuilder : public PizzaBuilder 00003 { 00004 public: 00005 HawaiianPizzaBuilder() : PizzaBuilder() {} 00006 ~HawaiianPizzaBuilder(){} 00007 00008 void buildDough() { pizza->SetDough("cross"); } 00009 void buildSauce() { pizza->SetSauce("mild"); } 00010 void buildTopping() { pizza->SetTopping("ham and pineapple"); } 00011 };