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

API Documentation


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

firtex::utility::CStringReader类参考

#include <StringReader.h>

继承图,类firtex::utility::CStringReader

firtex::utility::CReader 所有成员的列表。

公有成员

 CStringReader ()
 CStringReader (const char *value)
 CStringReader (const char *value, const size_t length)
 CStringReader (const string &value)
virtual ~CStringReader (void)
CReaderclone (char *buffer, size_t buffsize)
CReaderclone ()
char readChar ()
char peek ()
bool open (const char *strBuffer, size_t len)
const char * getReaderName () const

保护成员

void readInternal (char *b, size_t offset, size_t len)
void seekInternal (int64_t position)

构造及析构函数文档

firtex::utility::CStringReader::CStringReader  )  [inline]
 

firtex::utility::CStringReader::CStringReader const char *  value  )  [inline]
 

firtex::utility::CStringReader::CStringReader const char *  value,
const size_t  length
[inline]
 

firtex::utility::CStringReader::CStringReader const string &  value  )  [inline]
 

virtual firtex::utility::CStringReader::~CStringReader void   )  [inline, virtual]
 


成员函数文档

CReader* firtex::utility::CStringReader::clone  )  [inline, virtual]
 

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

实现了firtex::utility::CReader

CReader* firtex::utility::CStringReader::clone char *  buffer,
size_t  buffsize
[inline, virtual]
 

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

实现了firtex::utility::CReader

const char* firtex::utility::CStringReader::getReaderName  )  const [inline]
 

bool firtex::utility::CStringReader::open const char *  strBuffer,
size_t  len
[inline]
 

char firtex::utility::CStringReader::peek  )  [inline]
 

char firtex::utility::CStringReader::readChar  )  [inline]
 

void firtex::utility::CStringReader::readInternal char *  b,
size_t  offset,
size_t  len
[inline, protected, virtual]
 

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

参数:
b 目标地址
offset 偏移量 长度

实现了firtex::utility::CReader

void firtex::utility::CStringReader::seekInternal int64_t  position  )  [inline, protected, virtual]
 

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

参数:
pos 定位位置

实现了firtex::utility::CReader


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

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