Switch to unified view

a/src/query/filtseq.cpp b/src/query/filtseq.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: filtseq.cpp,v 1.2 2008-09-29 08:59:20 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: filtseq.cpp,v 1.3 2008-09-29 11:33:55 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
45
                   const std::string &t)
45
                   const std::string &t)
46
    :  DocSequence(t), m_seq(iseq), m_spec(filtspec)
46
    :  DocSequence(t), m_seq(iseq), m_spec(filtspec)
47
{
47
{
48
}
48
}
49
49
50
bool DocSeqFiltered::setFiltSpec(DocSeqFiltSpec &filtspec)
51
{
52
    m_spec = filtspec;
53
    m_dbindices.clear();
54
}
55
50
bool DocSeqFiltered::getDoc(int idx, Rcl::Doc &doc, string *)
56
bool DocSeqFiltered::getDoc(int idx, Rcl::Doc &doc, string *)
51
{
57
{
52
    LOGDEB1(("DocSeqFiltered: fetching %d\n", idx));
58
    LOGDEB1(("DocSeqFiltered: fetching %d\n", idx));
53
59
54
    if (idx >= (int)m_dbindices.size()) {
60
    if (idx >= (int)m_dbindices.size()) {