#include <FlattextDocMgr.hpp>
Inheritance diagram for FlattextDocMgr:
Public Types | |
enum | ParseModes { TREC = 0, WEB = 1, CHINESE = 2, CHINESECHAR = 3, ARABIC = 4 } |
Public Methods | |
FlattextDocMgr (char *name, ParseModes mode, char *source) | |
FlattextDocMgr (string name, string mode, string 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 | |
Parser * | createParser (ParseModes mode) |
based on the given ParseMode, create and return a parser |
|
|
|
constructor (for build) name = what to name this manager mode = type of parser to use source = file with list of files this will manage |
|
|
|
constructor (for open) name = toc file for this manager (same as getMyID) |
|
|
|
|
|
based on the given ParseMode, create and return a parser
|
|
return the document associated with this ID
Implements DocumentManager. |
|
get the ID string to use for opening this later
|
|
Handle a doc.
Reimplemented from TextHandler. |
|
open previously created manager
Implements DocumentManager. |