Verwaltung der Prototypen
// File: IOFactry.h #ifndef IOFactory_h #define IOFactory_h 1 #include <stl.h> #include <String.h> #include <bool.h> #include <fstream.h> #include <AbstFcry.h> typedef less<String> StringCompare; typedef map<String, GeoObj*, StringCompare> MapOfPrototypes; class IOFactory : public AbstractFactory { private: MapOfPrototypes* pPrototypes; // ... public: IOFactory(MapOfPrototypes*); IOFactory(MapOfPrototypes*, istream*, ostream* = NULL); IOFactory(MapOfPrototypes*, const String&, const String& = String("")); // ... }; #endif