Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

IndriDocMgr Class Reference

#include <IndriDocMgr.hpp>

Inheritance diagram for IndriDocMgr:

DocumentManager List of all members.

Public Methods

 IndriDocMgr (Repository &repository, string name="IndriDocMgr")
virtual ~IndriDocMgr ()
virtual bool open (const string &manname)
virtual char * getDoc (const EXDOCID_T &docID) const
 returns the document with the given docID (usually in raw format)

vector< MatchgetOffsets (const EXDOCID_T &docID) const
virtual ParsergetParser () const
 
Returns:
NULL


virtual void buildMgr ()
 do nothing

virtual const string & getMyID () const
 get the ID string


Detailed Description

The IndriDocMgr is able to retrieve a document given its external document id, and additionally to provide the byte offsets of the terms within a document
See also:
MatchInfo. It can not be built separately from its enclosing Repository, nor does it provide a Parser.


Constructor & Destructor Documentation

IndriDocMgr::IndriDocMgr Repository   repository,
string    name = "IndriDocMgr"
[inline]
 

virtual IndriDocMgr::~IndriDocMgr   [inline, virtual]
 


Member Function Documentation

virtual void IndriDocMgr::buildMgr   [inline, virtual]
 

do nothing

Implements DocumentManager.

char * IndriDocMgr::getDoc const EXDOCID_T   docID const [virtual]
 

returns the document with the given docID (usually in raw format)

virtual const string& IndriDocMgr::getMyID   const [inline, virtual]
 

get the ID string

Implements DocumentManager.

vector< Match > IndriDocMgr::getOffsets const EXDOCID_T   docID const
 

get the array of Match entries for the tokens in the document named docID. The entries are indexed by token position (as is recorded in a TermInfoList object.

virtual Parser* IndriDocMgr::getParser   const [inline, virtual]
 

Returns:
NULL

Implements DocumentManager.

virtual bool IndriDocMgr::open const string &    manname [inline, virtual]
 

IndriDocMgr can only be opend by its enclosing Repository.

Returns:
true vacuously

Implements DocumentManager.


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:39 2004 for Lemur Toolkit by doxygen1.2.18