a/src/query/docseq.h b/src/query/docseq.h
...
...
136
    }
136
    }
137
    virtual std::list<std::string> expand(Rcl::Doc &) 
137
    virtual std::list<std::string> expand(Rcl::Doc &) 
138
    {
138
    {
139
    return std::list<std::string>();
139
    return std::list<std::string>();
140
    }
140
    }
141
141
    virtual std::string getReason() 
142
    {
143
  return m_reason;
144
    }
142
    /** Optional functionality. */
145
    /** Optional functionality. */
143
    virtual bool canFilter() {return false;}
146
    virtual bool canFilter() {return false;}
144
    virtual bool canSort() {return false;}
147
    virtual bool canSort() {return false;}
145
    virtual bool setFiltSpec(const DocSeqFiltSpec &) {return false;}
148
    virtual bool setFiltSpec(const DocSeqFiltSpec &) {return false;}
146
    virtual bool setSortSpec(const DocSeqSortSpec &) {return false;}
149
    virtual bool setSortSpec(const DocSeqSortSpec &) {return false;}
...
...
152
    o_filt_trans = filt;
155
    o_filt_trans = filt;
153
    }
156
    }
154
protected:
157
protected:
155
    static std::string o_sort_trans;
158
    static std::string o_sort_trans;
156
    static std::string o_filt_trans;
159
    static std::string o_filt_trans;
160
    std::string          m_reason;
157
 private:
161
 private:
158
    std::string          m_title;
162
    std::string          m_title;
159
};
163
};
160
164
161
/** A modifier has a child sequence which does the real work and does
165
/** A modifier has a child sequence which does the real work and does
...
...
203
    virtual bool getEnclosing(Rcl::Doc& doc, Rcl::Doc& pdoc) 
207
    virtual bool getEnclosing(Rcl::Doc& doc, Rcl::Doc& pdoc) 
204
    {
208
    {
205
    if (m_seq.isNull())
209
    if (m_seq.isNull())
206
        return false;
210
        return false;
207
    return m_seq->getEnclosing(doc, pdoc);
211
    return m_seq->getEnclosing(doc, pdoc);
212
    }
213
    virtual std::string getReason() 
214
    {
215
  if (m_seq.isNull())
216
      return false;
217
  return m_seq->getReason();
208
    }
218
    }
209
    virtual std::string title() {return m_seq->title();}
219
    virtual std::string title() {return m_seq->title();}
210
    virtual RefCntr<DocSequence> getSourceSeq() {return m_seq;}
220
    virtual RefCntr<DocSequence> getSourceSeq() {return m_seq;}
211
221
212
protected:
222
protected: