diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-18 15:43:25 +0200 |
commit | 76e61d68bbf568ec0d7fc4632e52d4de5496b003 (patch) | |
tree | 92a2dc9b12a542456bdc154f44deb34925883210 /Parser.h | |
parent | 3f63576819151ff15237a9b4f0651c538cfef067 (diff) |
(1/2) rename
Diffstat (limited to 'Parser.h')
-rw-r--r-- | Parser.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,15 +1,15 @@ #pragma once -#include "FileStrategy.h" -#include "Deserializer.h" -#include "ParserStrategy.h" +#include "FileReader.h" +#include "MuseumDeserializer.h" +#include "Parser.h" -class Parser { - typedef std::vector<ParserStrategy*> ParserCollection; +class ParserFactory { + typedef std::vector<Parser*> ParserCollection; public: - static void parse(FileStrategy & f, Deserializer & d); - static void register_strategy(ParserStrategy * p); + static void parse(FileReader & f, MuseumDeserializer & d); + static void register_strategy(Parser * p); private: static ParserCollection & get_collection() { |