|
a/src/query/docseqhist.h |
|
b/src/query/docseqhist.h |
|
... |
|
... |
46 |
DocSequenceHistory(Rcl::Db *d, RclDynConf *h, const string &t)
|
46 |
DocSequenceHistory(Rcl::Db *d, RclDynConf *h, const string &t)
|
47 |
: DocSequence(t), m_db(d), m_hist(h), m_prevnum(-1), m_prevtime(-1) {}
|
47 |
: DocSequence(t), m_db(d), m_hist(h), m_prevnum(-1), m_prevtime(-1) {}
|
48 |
virtual ~DocSequenceHistory() {}
|
48 |
virtual ~DocSequenceHistory() {}
|
49 |
|
49 |
|
50 |
virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
|
50 |
virtual bool getDoc(int num, Rcl::Doc &doc, string *sh = 0);
|
51 |
virtual bool getEnclosing(Rcl::Doc& doc, Rcl::Doc& pdoc);
|
51 |
virtual Rcl::Db *getDb();
|
52 |
virtual int getResCnt();
|
52 |
virtual int getResCnt();
|
53 |
virtual string getDescription() {return m_description;}
|
53 |
virtual string getDescription() {return m_description;}
|
54 |
void setDescription(const string& desc) {m_description = desc;}
|
54 |
void setDescription(const string& desc) {m_description = desc;}
|
55 |
private:
|
55 |
private:
|
56 |
Rcl::Db *m_db;
|
56 |
Rcl::Db *m_db;
|