#include <FlattextDocMgr.hpp>
Inheritance diagram for FlattextDocMgr:
Public Methods | |
FlattextDocMgr (string name, string mode, string source) | |
FlattextDocMgr (const string &name) | |
virtual | ~FlattextDocMgr () |
virtual bool | open (const string &manname) |
open previously created manager | |
virtual Parser * | getParser () const |
returns a handle to a Parser object that can handle parsing the raw format of these documents | |
virtual const string & | getMyID () const |
get the ID string to use for opening this later | |
virtual char * | getDoc (const string &docID) const |
return the document associated with this ID | |
virtual void | buildMgr () |
Construct the data tables for the previously given input files. | |
char * | handleDoc (char *docno) |
Handle a doc. | |
void | handleEndDoc () |
Handle the end of the doc. | |
Protected Attributes | |
Parser * | myparser |
|
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) |
|
|
|
Construct the data tables for the previously given input files.
Implements DocumentManager. |
|
return the document associated with this ID
Implements DocumentManager. |
|
get the ID string to use for opening this later
Implements DocumentManager. |
|
returns a handle to a Parser object that can handle parsing the raw format of these documents
Implements DocumentManager. |
|
Handle a doc.
Reimplemented from TextHandler. |
|
Handle the end of the doc.
Reimplemented from TextHandler. |
|
open previously created manager
Implements DocumentManager. |
|
|