98 Star 188 Fork 96

lewsn2008/LBTSE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Document.h 599 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef _Document_H_040410_
#define _Document_H_040410_
#include <string>
typedef struct{
int docid;
int offset;
}DocIdx;
using namespace std;
class CDocument
{
public:
int m_nDocId;
int m_nPos;
int m_nLength;
string m_sChecksum;
string m_sUrl;
string m_sRecord; // a record including a HEAD, a header and body
string m_sHead;
string m_sHeader;
string m_sBody;
string m_sBodyNoTags;
public:
CDocument();
~CDocument();
bool ParseRecord(string &content) const;
bool CleanBody(string &body) const;
void RemoveTags(char *s);
};
#endif /* _Document_H_040410_ */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/lewsn2008/LBTSE.git
git@gitee.com:lewsn2008/LBTSE.git
lewsn2008
LBTSE
LBTSE
master

搜索帮助