Esempio n. 1
0
 void Operation()
 {
   Prototype * p = _prototype->Clone();
   cout << "Using " << p->getType() << " created from prototype." << endl;
 }
Esempio n. 2
0
 Prototype(const Prototype& other) { setType(other.getType()); }