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

API Documentation


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

firtex::store::CRAMIndexOutput类参考

#include <RAMDirectory.h>

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

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

公有成员

 CRAMIndexOutput ()
 CRAMIndexOutput (CRAMFile *ramFile)
virtual ~CRAMIndexOutput ()
void seek (int64_t pos)
int64_t length ()
void close ()
void writeTo (CIndexOutput *pOutput)

保护成员

void flushBuffer (char *b, size_t len)

保护属性

CRAMFilem_file
bool m_bDeleteFile
int64_t m_pointer

友元

class CRAMDirectory

构造及析构函数文档

firtex::store::CRAMIndexOutput::CRAMIndexOutput  ) 
 

firtex::store::CRAMIndexOutput::CRAMIndexOutput CRAMFile ramFile  ) 
 

virtual firtex::store::CRAMIndexOutput::~CRAMIndexOutput  )  [virtual]
 


成员函数文档

void firtex::store::CRAMIndexOutput::close  )  [virtual]
 

关闭文件释放资源

重载firtex::store::CIndexOutput

void firtex::store::CRAMIndexOutput::flushBuffer char *  b,
size_t  len
[protected, virtual]
 

实现写buffer操作,在当前位置写数据

参数:
b 数据地址
len b的长度

实现了firtex::store::CIndexOutput

int64_t firtex::store::CRAMIndexOutput::length  )  [inline, virtual]
 

获取文件长度

实现了firtex::store::CIndexOutput

void firtex::store::CRAMIndexOutput::seek int64_t  pos  )  [virtual]
 

文件定位

重载firtex::store::CIndexOutput

void firtex::store::CRAMIndexOutput::writeTo CIndexOutput pOutput  ) 
 

将文件内容写到另一个Output

参数:
pOutput 目标Output


友元及相关函数文档

friend class CRAMDirectory [friend]
 


成员数据文档

bool firtex::store::CRAMIndexOutput::m_bDeleteFile [protected]
 

CRAMFile* firtex::store::CRAMIndexOutput::m_file [protected]
 

int64_t firtex::store::CRAMIndexOutput::m_pointer [protected]
 


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

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