aboutsummaryrefslogtreecommitdiff
path: root/ParserFactory.h
blob: cb8cb992e1f792f0d5d593fc4c4377adcd61e6fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <memory>

#include "FileReader.h"
#include "Parser.h"

class ParserFactory {
public:
	ParserFactory();
	Parser & get_parser(FileReader & f);

private:
	std::vector<std::unique_ptr<Parser>> parsers;
};