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

FlattextDocMgr Class Reference

#include <FlattextDocMgr.hpp>

Inheritance diagram for FlattextDocMgr:

DocumentManager TextHandler List of all members.

Public Types

enum  ParseModes { TREC = 0, WEB = 1 }

Public Methods

 FlattextDocMgr (char *name,ParseModes mode,char *source)
 constructor (for build) name = what to name this manager mode = type of parser to use source = file with list of files this will manage.

 FlattextDocMgr (const char *name)
 constructor (for open) name = toc file for this manager (same as getMyID).

 ~FlattextDocMgr ()
bool open (const char *manname)
 open previously created manager.

const char* getMyID ()
 get the ID string to use for opening this later.

char* getDoc (const char *docID)
 return the document associated with this ID.

void buildMgr ()
char* handleDoc (char *docno)
 Handle a doc.


Static Public Methods

ParsercreateParser (ParseModes mode)
 based on the given ParseMode, create and return a parser.


Member Enumeration Documentation

enum FlattextDocMgr::ParseModes
 

Enumeration values:
TREC  
WEB  


Constructor & Destructor Documentation

FlattextDocMgr::FlattextDocMgr ( char * name,
ParseModes mode,
char * source )
 

constructor (for build) name = what to name this manager mode = type of parser to use source = file with list of files this will manage.

FlattextDocMgr::FlattextDocMgr ( const char * name )
 

constructor (for open) name = toc file for this manager (same as getMyID).

FlattextDocMgr::~FlattextDocMgr ( )
 


Member Function Documentation

void FlattextDocMgr::buildMgr ( )
 

Parser * FlattextDocMgr::createParser ( ParseModes mode ) [static]
 

based on the given ParseMode, create and return a parser.

char * FlattextDocMgr::getDoc ( const char * docID ) [virtual]
 

return the document associated with this ID.

Reimplemented from DocumentManager.

const char * FlattextDocMgr::getMyID ( )
 

get the ID string to use for opening this later.

char * FlattextDocMgr::handleDoc ( char * docno ) [virtual]
 

Handle a doc.

Reimplemented from TextHandler.

bool FlattextDocMgr::open ( const char * manname ) [virtual]
 

open previously created manager.

Reimplemented from DocumentManager.


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:26:58 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000