48 lines
553 B
C
48 lines
553 B
C
|
#ifndef PARSECHECKS_H
|
||
|
#define PARSECHECKS_H
|
||
|
|
||
|
#include "libParse.h"
|
||
|
|
||
|
namespace CheckTools {
|
||
|
/**
|
||
|
* @brief 情节校对工具
|
||
|
*/
|
||
|
class FragmentsCheck
|
||
|
{
|
||
|
public:
|
||
|
FragmentsCheck(Parse::Result::ParseCore *const core);
|
||
|
|
||
|
/**
|
||
|
* @brief 错误校验
|
||
|
* @param reasons 错误原因
|
||
|
* @return 错误指示
|
||
|
*/
|
||
|
bool check(QList<Parse::ErrorMessage> &reasons) const;
|
||
|
|
||
|
private:
|
||
|
Parse::Result::ParseCore *const core_ins;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
|
||
|
#endif // PARSECHECKS_H
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|