2008-06-03 12:56:37 +04:00
|
|
|
#ifndef __SCORER_FACTORY_H
|
|
|
|
#define __SCORER_FACTORY_H
|
|
|
|
|
|
|
|
#include <vector>
|
2011-11-14 10:15:30 +04:00
|
|
|
#include <string>
|
2008-06-03 12:56:37 +04:00
|
|
|
|
2011-11-14 10:15:30 +04:00
|
|
|
class Scorer;
|
2008-06-03 12:56:37 +04:00
|
|
|
|
2011-02-24 15:42:19 +03:00
|
|
|
class ScorerFactory
|
|
|
|
{
|
|
|
|
public:
|
2011-11-14 10:15:30 +04:00
|
|
|
static std::vector<std::string> getTypes();
|
2008-06-03 12:56:37 +04:00
|
|
|
|
2011-11-14 10:15:30 +04:00
|
|
|
static Scorer* getScorer(const std::string& type, const std::string& config = "");
|
2011-11-11 15:40:59 +04:00
|
|
|
|
|
|
|
private:
|
|
|
|
ScorerFactory() {}
|
|
|
|
~ScorerFactory() {}
|
2008-06-03 12:56:37 +04:00
|
|
|
};
|
|
|
|
|
2011-11-12 02:59:50 +04:00
|
|
|
#endif // __SCORER_FACTORY_H
|