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, CHINESE = 2, CHINESECHAR = 3,
  ARABIC = 4
}

Public Methods

 FlattextDocMgr (char *name, ParseModes mode, char *source)
 FlattextDocMgr (const char *name)
 ~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 
CHINESE 
CHINESECHAR 
ARABIC 


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

Implements 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

Implements DocumentManager.


The documentation for this class was generated from the following files:
Generated on Mon Sep 30 14:14:00 2002 for LEMUR by doxygen1.2.18