#pragma once #include "FileReader.h" #include "MuseumDeserializer.h" #include "Parser.h" class ParserFactory { typedef std::vector ParserCollection; public: static void parse(FileReader & f, MuseumDeserializer & d); static void register_strategy(Parser * p); private: static ParserCollection & get_collection() { static ParserCollection c = {}; return c; } };