|
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.5 2008-09-29 08:59:20 dockes Exp $ (C) 2004 J.F.Dockes */
|
19 |
/* @(#$Id: docseqdb.h,v 1.6 2008-09-29 11:33:55 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"
|
|
... |
|
... |
36 |
vector<vector<string> >& groups,
|
36 |
vector<vector<string> >& groups,
|
37 |
vector<int>& gslks);
|
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 |
virtual bool canFilter() {return true;}
|
|
|
42 |
virtual bool setFiltSpec(DocSeqFiltSpec &filtspec);
|
|
|
43 |
virtual bool canSort() {return false;}
|
|
|
44 |
virtual bool setSortSpec(DocSeqSortSpec &sortspec);
|
|
|
45 |
virtual string title();
|
41 |
private:
|
46 |
private:
|
42 |
RefCntr<Rcl::Query> m_q;
|
47 |
RefCntr<Rcl::Query> m_q;
|
43 |
RefCntr<Rcl::SearchData> m_sdata;
|
48 |
RefCntr<Rcl::SearchData> m_sdata;
|
|
|
49 |
RefCntr<Rcl::SearchData> m_fsdata; // Filtered
|
44 |
int m_rescnt;
|
50 |
int m_rescnt;
|
|
|
51 |
bool m_filt;
|
45 |
};
|
52 |
};
|
46 |
|
53 |
|
47 |
#endif /* _DOCSEQDB_H_INCLUDED_ */
|
54 |
#endif /* _DOCSEQDB_H_INCLUDED_ */
|