22 lines
446 B
C
22 lines
446 B
C
|
|
#pragma once
|
||
|
|
#include "../AlgorithmBase.h"
|
||
|
|
#include <string>
|
||
|
|
using namespace std;
|
||
|
|
|
||
|
|
class AlgNull : public AlgorithmBase {
|
||
|
|
private:
|
||
|
|
/* data */
|
||
|
|
public:
|
||
|
|
AlgNull(const string &name, const Json::Value &rulejson, const string &ruleid,
|
||
|
|
IHDBTools *pihdb)
|
||
|
|
: AlgorithmBase(name, rulejson, ruleid, pihdb) {}
|
||
|
|
~AlgNull() = default;
|
||
|
|
|
||
|
|
int Reload() { return 0; }
|
||
|
|
|
||
|
|
int calculate(string &outjson) {
|
||
|
|
outjson = "";
|
||
|
|
return 0;
|
||
|
|
}
|
||
|
|
};
|