Switch to unified view

a/src/query/filtseq.h b/src/query/filtseq.h
...
...
28
/** 
28
/** 
29
 * A filtered sequence is created from another one by selecting entries
29
 * A filtered sequence is created from another one by selecting entries
30
 * according to the given criteria.
30
 * according to the given criteria.
31
 */
31
 */
32
class DocSeqFiltered : public DocSeqModifier {
32
class DocSeqFiltered : public DocSeqModifier {
33
 public:
33
public:
34
    DocSeqFiltered(RefCntr<DocSequence> iseq, DocSeqFiltSpec &filtspec, 
34
    DocSeqFiltered(RefCntr<DocSequence> iseq, DocSeqFiltSpec &filtspec)
35
       const std::string &t);
35
  :  DocSeqModifier(iseq), m_spec(filtspec)
36
    {}
36
    virtual ~DocSeqFiltered() {}
37
    virtual ~DocSeqFiltered() {}
37
    virtual bool canFilter() {return true;}
38
    virtual bool canFilter() {return true;}
38
    virtual bool setFiltSpec(DocSeqFiltSpec &filtspec);
39
    virtual bool setFiltSpec(DocSeqFiltSpec &filtspec);
39
    virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
40
    virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
40
    virtual int getResCnt() {return m_seq->getResCnt();}
41
    virtual int getResCnt() {return m_seq->getResCnt();}