|
a/src/query/docseqdb.h |
|
b/src/query/docseqdb.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _DOCSEQDB_H_INCLUDED_
|
17 |
#ifndef _DOCSEQDB_H_INCLUDED_
|
18 |
#define _DOCSEQDB_H_INCLUDED_
|
18 |
#define _DOCSEQDB_H_INCLUDED_
|
19 |
/* @(#$Id: docseqdb.h,v 1.3 2008-06-13 18:22:46 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: docseqdb.h,v 1.4 2008-09-28 07:40:56 dockes Exp $ (C) 2004 J.F.Dockes */
|
20 |
#include "docseq.h"
|
20 |
#include "docseq.h"
|
21 |
#include "refcntr.h"
|
21 |
#include "refcntr.h"
|
22 |
|
22 |
|
23 |
#include "searchdata.h"
|
23 |
#include "searchdata.h"
|
24 |
#include "rclquery.h"
|
24 |
#include "rclquery.h"
|
|
... |
|
... |
32 |
virtual ~DocSequenceDb();
|
32 |
virtual ~DocSequenceDb();
|
33 |
virtual bool getDoc(int num, Rcl::Doc &doc, int *percent, string * = 0);
|
33 |
virtual bool getDoc(int num, Rcl::Doc &doc, int *percent, string * = 0);
|
34 |
virtual int getResCnt();
|
34 |
virtual int getResCnt();
|
35 |
virtual bool getTerms(vector<string>& terms,
|
35 |
virtual bool getTerms(vector<string>& terms,
|
36 |
vector<vector<string> >& groups,
|
36 |
vector<vector<string> >& groups,
|
37 |
vector<int>& gslks) const;
|
37 |
vector<int>& gslks);
|
38 |
virtual string getAbstract(Rcl::Doc &doc);
|
38 |
virtual string getAbstract(Rcl::Doc &doc);
|
39 |
virtual string getDescription();
|
39 |
virtual string getDescription();
|
40 |
virtual list<string> expand(Rcl::Doc &doc);
|
40 |
virtual list<string> expand(Rcl::Doc &doc);
|
41 |
private:
|
41 |
private:
|
42 |
RefCntr<Rcl::Query> m_q;
|
42 |
RefCntr<Rcl::Query> m_q;
|