00001 // ConcreteBuilder 00002 class SpicyPizzaBuilder : public PizzaBuilder 00003 { 00004 public: 00005 SpicyPizzaBuilder() : PizzaBuilder() {} 00006 ~SpicyPizzaBuilder() {} 00007 00008 void buildDough() { pizza->SetDough("pan baked"); } 00009 void buildSauce() { pizza->SetSauce("hot"); } 00010 void buildTopping() { pizza->SetTopping("pepperoni and salami"); } 00011 };