Main Page   Namespace List   Class Hierarchy   Alphabetical List   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 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 ParsergetParser () 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

Parsermyparser

Constructor & Destructor Documentation

FlattextDocMgr::FlattextDocMgr string    name,
string    mode,
string    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 string &    name
 

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

FlattextDocMgr::~FlattextDocMgr   [virtual]
 


Member Function Documentation

void FlattextDocMgr::buildMgr   [virtual]
 

Construct the data tables for the previously given input files.

Implements DocumentManager.

char * FlattextDocMgr::getDoc const string &    docID const [virtual]
 

return the document associated with this ID

Implements DocumentManager.

const string & FlattextDocMgr::getMyID   [virtual]
 

get the ID string to use for opening this later

Implements DocumentManager.

virtual Parser* FlattextDocMgr::getParser   [inline, virtual]
 

returns a handle to a Parser object that can handle parsing the raw format of these documents

Implements DocumentManager.

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

Handle a doc.

Reimplemented from TextHandler.

void FlattextDocMgr::handleEndDoc   [virtual]
 

Handle the end of the doc.

Reimplemented from TextHandler.

bool FlattextDocMgr::open const string &    manname [virtual]
 

open previously created manager

Implements DocumentManager.


Member Data Documentation

Parser* FlattextDocMgr::myparser [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:33 2004 for Lemur Toolkit by doxygen1.2.18