Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::api::DocMgrManager Class Reference

This is a factory class for creating and opening DocumentManagers. More...

#include <DocMgrManager.hpp>

List of all members.

Static Public Member Functions

DocumentManagercreateDocMgr (string type, string name="", string parsetype="", string sources="")
DocumentManageropenDocMgr (const string name, bool readOnly=true)


Detailed Description

This is a factory class for creating and opening DocumentManagers.

New DocumentManagers should be added here.


Member Function Documentation

DocumentManager * lemur::api::DocMgrManager::createDocMgr string  type,
string  name = "",
string  parsetype = "",
string  sources = ""
[static]
 

create a new DocumentManager object Recognized types are: flat -- FlattextDocMgr; or bdm -- KeyfileDocMgr. elem -- ElemDocMgr.

DocumentManager * lemur::api::DocMgrManager::openDocMgr const string  name,
bool  readOnly = true
[static]
 

open an existing DocumentManager using the specified name similar to indexes, the DM's name extension should indicate what DM it is. Recognized extensions are : .flat -- FlattextDocMgr; or .bdm -- KeyfileDocMgr. elem -- ElemDocMgr. caller deletes

Parameters:
name the name of the document manager table of contents file.
readOnly open the manager in read only mode.


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:04 2010 for Lemur by doxygen 1.3.4