#include <DocumentManager.hpp>
Inheritance diagram for DocumentManager:
Public Methods | |
virtual bool | open (const char *manname)=0 |
open previously created document manager, return true if opened successfully. index name should be the full name of the table-of-content file for the manager. E.g. "manager.flat" for FlattextDocMgr. | |
virtual char * | getDoc (const char *docID)=0 |
returns the document with the given docID (usually in raw format) | |
virtual Parser * | getParser () |
returns a handle to a Parser object that can handle parsing the raw format of these documents | |
virtual void | buildMgr ()=0 |
Construct the data tables for the previously given input files. | |
virtual const char * | getMyID ()=0 |
get the ID string to use for opening this later | |
virtual | ~DocumentManager () |
Protected Attributes | |
Parser * | myparser |
|
|
|
Construct the data tables for the previously given input files.
Implemented in FlattextDocMgr, and KeyfileDocMgr. |
|
returns the document with the given docID (usually in raw format)
Implemented in FlattextDocMgr, and KeyfileDocMgr. |
|
get the ID string to use for opening this later
Implemented in FlattextDocMgr, and KeyfileDocMgr. |
|
returns a handle to a Parser object that can handle parsing the raw format of these documents
|
|
open previously created document manager, return true if opened successfully. index name should be the full name of the table-of-content file for the manager. E.g. "manager.flat" for FlattextDocMgr.
Implemented in ElemDocMgr, FlattextDocMgr, and KeyfileDocMgr. |
|
|