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

API Documentation


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

firtex::index::CBarrelsInfo类参考

#include <BarrelsInfo.h>

所有成员的列表。

公有成员

 CBarrelsInfo ()
 ~CBarrelsInfo (void)
const string newBarrel ()
void addBarrel (const string &name, docid_t minDID, count_t docCount)
void addBarrel (CBarrelInfo *pBarrelInfo)
void read (CDirectory *pDirectory)
void write (CDirectory *pDirectory)
void remove (CDirectory *pDirectory)
void removeBarrel (CDirectory *pDirectory, const string &barrelname)
int getBarrelCount ()
int getDocCount ()
count_t getDocCounter ()
void setDocCounter (count_t dcnt)
const char * getVersion ()
void setVersion (const char *ver)
void clear ()
CBarrelInfooperator[] (int i)
void startIterator ()
bool hasNext ()
CBarrelInfonext ()

保护属性

CFXString m_version
count_t m_barrelCounter
count_t m_docCounter
vector< CBarrelInfo * > m_barrelInfos
vector< CBarrelInfo * >::iterator m_barrelsiterator


构造及析构函数文档

firtex::index::CBarrelsInfo::CBarrelsInfo  ) 
 

firtex::index::CBarrelsInfo::~CBarrelsInfo void   ) 
 


成员函数文档

void firtex::index::CBarrelsInfo::addBarrel CBarrelInfo pBarrelInfo  ) 
 

添加Barrel

参数:
CBarrelInfo 

void firtex::index::CBarrelsInfo::addBarrel const string &  name,
docid_t  minDID,
count_t  docCount
 

添加Barrel

参数:
name barrel 名称
minDID 文档id号基数
docCount barrel包含的文档数

void firtex::index::CBarrelsInfo::clear  ) 
 

释放资源

int firtex::index::CBarrelsInfo::getBarrelCount  )  [inline]
 

获取barrel个数

int firtex::index::CBarrelsInfo::getDocCount  ) 
 

获取总文档数

count_t firtex::index::CBarrelsInfo::getDocCounter  )  [inline]
 

获取设置文档计数器

const char* firtex::index::CBarrelsInfo::getVersion  )  [inline]
 

获取设置索引版本号

bool firtex::index::CBarrelsInfo::hasNext  )  [inline]
 

const string firtex::index::CBarrelsInfo::newBarrel  ) 
 

新barrel的名称

CBarrelInfo * firtex::index::CBarrelsInfo::next  )  [inline]
 

CBarrelInfo* firtex::index::CBarrelsInfo::operator[] int  i  )  [inline]
 

void firtex::index::CBarrelsInfo::read CDirectory pDirectory  ) 
 

从磁盘读入barrels 信息

void firtex::index::CBarrelsInfo::remove CDirectory pDirectory  ) 
 

清除barrels 信息

void firtex::index::CBarrelsInfo::removeBarrel CDirectory pDirectory,
const string &  barrelname
 

清除barrels 信息

void firtex::index::CBarrelsInfo::setDocCounter count_t  dcnt  )  [inline]
 

void firtex::index::CBarrelsInfo::setVersion const char *  ver  )  [inline]
 

void firtex::index::CBarrelsInfo::startIterator  )  [inline]
 

void firtex::index::CBarrelsInfo::write CDirectory pDirectory  ) 
 

将barrels 信息写到磁盘


成员数据文档

count_t firtex::index::CBarrelsInfo::m_barrelCounter [protected]
 

vector<CBarrelInfo*> firtex::index::CBarrelsInfo::m_barrelInfos [protected]
 

vector<CBarrelInfo*>::iterator firtex::index::CBarrelsInfo::m_barrelsiterator [protected]
 

count_t firtex::index::CBarrelsInfo::m_docCounter [protected]
 

CFXString firtex::index::CBarrelsInfo::m_version [protected]
 


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

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