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