#include <MindDBManager.hpp>
Inheritance diagram for MindDBManager:

Public Methods | |
| MindDBManager () | |
| ~MindDBManager () | |
| void | open (char *dbname) |
| Open a Mind database - The dbname is a semicolon seperated string with the proxy, proxy url, proxy-interface, proxy-construction-text, and the number of docs in the db components. Example: urn:proxy.Google;http://....;urn:proxy-interface.Google;urn:proxy-construction-text.Google;2000000000. | |
| results_t* | query (char *query,int numdocs) |
| Query the database. | |
| void | parse (doc_t *doc) |
| Parse a document. (Gets the proxy-construction-text to do the work.). | |
| MemParser* | getParser () |
| Get a parser for the database. (Really this same object.). | |
| doc_t* | getDoc (docid_t docid) |
| Get a document given its document id. | |
| void | output (docid_t docid) |
| Send a document to the proxy. | |
| void | setOutputFile (char *filename) |
| Set the proxy documents will be sent to. Example: urn:proxy.Google. | |
| void | close () |
| Close the database. | |
|
|
|
|
|
|
|
|
Close the database.
Reimplemented from DBManager. |
|
|
Get a document given its document id.
Reimplemented from DBManager. |
|
|
Get a parser for the database. (Really this same object.).
Reimplemented from DBManager. |
|
|
Open a Mind database - The dbname is a semicolon seperated string with the proxy, proxy url, proxy-interface, proxy-construction-text, and the number of docs in the db components. Example: urn:proxy.Google;http://....;urn:proxy-interface.Google;urn:proxy-construction-text.Google;2000000000.
Reimplemented from DBManager. |
|
|
Send a document to the proxy.
Reimplemented from DBManager. |
|
|
Parse a document. (Gets the proxy-construction-text to do the work.).
Reimplemented from MemParser. |
|
|
Query the database.
Reimplemented from DBManager. |
|
|
Set the proxy documents will be sent to. Example: urn:proxy.Google.
Reimplemented from DBManager. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000