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