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

API Documentation


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

firtex::store::CFSIndexInput类参考

#include <FSIndexInput.h>

继承图,类firtex::store::CFSIndexInput

firtex::store::CIndexInput 所有成员的列表。

公有成员

 CFSIndexInput (const tchar *filename)
 CFSIndexInput (const tchar *filename, char *buffer, size_t buffsize)
 CFSIndexInput (const tchar *filename, size_t buffsize)
virtual ~CFSIndexInput ()
void readInternal (char *b, size_t offset, size_t len)
void close ()
CIndexInputclone (char *buffer, size_t buffsize)
CIndexInputclone ()

保护成员

void seekInternal (int64_t position)

保护属性

int m_fileHandle
tstring m_filename

构造及析构函数文档

firtex::store::CFSIndexInput::CFSIndexInput const tchar *  filename  )  [inline]
 

firtex::store::CFSIndexInput::CFSIndexInput const tchar *  filename,
char *  buffer,
size_t  buffsize
[inline]
 

firtex::store::CFSIndexInput::CFSIndexInput const tchar *  filename,
size_t  buffsize
[inline]
 

virtual firtex::store::CFSIndexInput::~CFSIndexInput  )  [inline, virtual]
 


成员函数文档

CIndexInput* firtex::store::CFSIndexInput::clone  )  [inline, virtual]
 

克隆一个CIndexInput对象,克隆对象使用自己私有的内存作为缓冲

实现了firtex::store::CIndexInput

CIndexInput* firtex::store::CFSIndexInput::clone char *  buffer,
size_t  buffsize
[inline, virtual]
 

克隆一个CIndexInput对象,克隆对象使用buffer作为缓冲

参数:
buffer 克隆对象使用的buffer
buffsize buffer的大小

实现了firtex::store::CIndexInput

void firtex::store::CFSIndexInput::close  )  [inline, virtual]
 

关闭文件,子类需实现

实现了firtex::store::CIndexInput

void firtex::store::CFSIndexInput::readInternal char *  b,
size_t  offset,
size_t  len
[inline, virtual]
 

从文件中当前位置读数据,子类需实现此函数

参数:
b 目标地址
offset b中的偏移量 读取长度

实现了firtex::store::CIndexInput

void firtex::store::CFSIndexInput::seekInternal int64_t  position  )  [inline, protected, virtual]
 

实现文件定位操作,readInternal的读操作从这个位置开始,需子类实现

参数:
pos 定位位置

实现了firtex::store::CIndexInput


成员数据文档

int firtex::store::CFSIndexInput::m_fileHandle [protected]
 

tstring firtex::store::CFSIndexInput::m_filename [protected]
 


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

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