16 lines
361 B
C
16 lines
361 B
C
|
|
#ifndef __EQ_ALG_BUILDER_H__
|
||
|
|
#define __EQ_ALG_BUILDER_H__
|
||
|
|
#include <eqpalg/AlgorithmBase.h>
|
||
|
|
#include <json/json.h>
|
||
|
|
class AlgorithmBuilder {
|
||
|
|
public:
|
||
|
|
AlgorithmBuilder();
|
||
|
|
~AlgorithmBuilder();
|
||
|
|
|
||
|
|
public:
|
||
|
|
AlgorithmBase* BuildAlgorithm(int algId,const string& ruleid,const string& name,const Json::Value& rulejson);
|
||
|
|
private:
|
||
|
|
IHDBTools* mp_ihdb;
|
||
|
|
};
|
||
|
|
#endif
|