FirteX-高性能全文索引和检索平台

API Documentation


首页 | 名字空间列表 | 类继承关系 | 组合类型列表 | $(BL\录(B | 文件列表 | 名字空间成员 | 组合类型成员 | 文件成员

firtex::collection::CFileListCollection类参考

#include <FileListCollection.h>

继承图,类firtex::collection::CFileListCollection

firtex::collection::CCollection 所有成员的列表。

公有成员

 CFileListCollection (const tchar *filelist, CIndexWriter *pIndexWriter)
virtual ~CFileListCollection (void)
bool addFile (const tchar *filename)
void close ()

静态公有属性

const tstring identifier

保护成员

bool scanInternal ()

保护属性

tstring m_sListFile
ifstream m_streamList

构造及析构函数文档

firtex::collection::CFileListCollection::CFileListCollection const tchar *  filelist,
CIndexWriter pIndexWriter
 

构造函数

参数:
filelist 文档列表,该文件每行标识一个文档的存放位置
pIndexWriter Index Writer对象,由内部维护

virtual firtex::collection::CFileListCollection::~CFileListCollection void   )  [virtual]
 


成员函数文档

bool firtex::collection::CFileListCollection::addFile const tchar *  filename  )  [virtual]
 

添加单个文件进行索引

重载firtex::collection::CCollection

void firtex::collection::CFileListCollection::close  )  [virtual]
 

关闭Collection,释放资源

重载firtex::collection::CCollection

bool firtex::collection::CFileListCollection::scanInternal  )  [protected, virtual]
 

扫描处理文档集,子类实现,一般从文档集中抽取出单个文档,交给CIndexWriter对象处理

实现了firtex::collection::CCollection


成员数据文档

const tstring firtex::collection::CFileListCollection::identifier [static]
 

重载firtex::collection::CCollection

tstring firtex::collection::CFileListCollection::m_sListFile [protected]
 

ifstream firtex::collection::CFileListCollection::m_streamList [protected]
 


该类的文档由以下文件生成:

http://www.firtex.org http://www.sourceforge.net/projects/firtex