27 lines
524 B
C++
27 lines
524 B
C++
#pragma once
|
|
/**
|
|
* @file rule_info.h
|
|
* @brief 规则信息 从db2到缓存memcached
|
|
* @author your name (you@domain.com)
|
|
* @version 0.1
|
|
* @date 2026-01-28
|
|
*
|
|
* Copyright: Baosight Co. Ltd.
|
|
* DO NOT COPY/USE WITHOUT PERMISSION
|
|
*
|
|
*/
|
|
#include <string>
|
|
#include <vector>
|
|
using std::string;
|
|
using std::vector;
|
|
|
|
/**
|
|
* @brief 单个规则的信息 数据项 表达式
|
|
*/
|
|
struct RuleInfo {
|
|
vector<string> item;
|
|
vector<string> chinese;
|
|
vector<string> tag_name;
|
|
vector<string> exp_str;
|
|
vector<string> exp_name;
|
|
}; |