|
a/src/query/filtseq.h |
|
b/src/query/filtseq.h |
|
... |
|
... |
18 |
#define _FILTSEQ_H_INCLUDED_
|
18 |
#define _FILTSEQ_H_INCLUDED_
|
19 |
#include "autoconfig.h"
|
19 |
#include "autoconfig.h"
|
20 |
|
20 |
|
21 |
#include <vector>
|
21 |
#include <vector>
|
22 |
#include <string>
|
22 |
#include <string>
|
23 |
#include MEMORY_INCLUDE
|
23 |
#include <memory>
|
24 |
|
24 |
|
25 |
#include "docseq.h"
|
25 |
#include "docseq.h"
|
26 |
|
26 |
|
27 |
class RclConfig;
|
27 |
class RclConfig;
|
28 |
|
28 |
|
|
... |
|
... |
30 |
* A filtered sequence is created from another one by selecting entries
|
30 |
* A filtered sequence is created from another one by selecting entries
|
31 |
* according to the given criteria.
|
31 |
* according to the given criteria.
|
32 |
*/
|
32 |
*/
|
33 |
class DocSeqFiltered : public DocSeqModifier {
|
33 |
class DocSeqFiltered : public DocSeqModifier {
|
34 |
public:
|
34 |
public:
|
35 |
DocSeqFiltered(RclConfig *conf, STD_SHARED_PTR<DocSequence> iseq,
|
35 |
DocSeqFiltered(RclConfig *conf, std::shared_ptr<DocSequence> iseq,
|
36 |
DocSeqFiltSpec &filtspec);
|
36 |
DocSeqFiltSpec &filtspec);
|
37 |
virtual ~DocSeqFiltered() {}
|
37 |
virtual ~DocSeqFiltered() {}
|
38 |
virtual bool canFilter() {return true;}
|
38 |
virtual bool canFilter() {return true;}
|
39 |
virtual bool setFiltSpec(const DocSeqFiltSpec &filtspec);
|
39 |
virtual bool setFiltSpec(const DocSeqFiltSpec &filtspec);
|
40 |
virtual bool getDoc(int num, Rcl::Doc &doc, std::string *sh = 0);
|
40 |
virtual bool getDoc(int num, Rcl::Doc &doc, std::string *sh = 0);
|