next up previous
Objektpersistenz und ERZEUGER-Pattern


Weiterer Klassenentwurf

 
// File: GeoObj.h
// ...
class AbstractFactory;

class GeoObj 
{
public:
  GeoObj(AbstractFactory* _pFactory = NULL)
  : pFactory(_pFactory){}
// ...
  virtual GeoObj* Clone() const = 0;
// ...
};

#endif


next up previous