libept  0.5.25
extraindexers.h
Go to the documentation of this file.
1 #ifndef EPT_TEXTSEARCH_EXTRAINDEXERS_H
2 #define EPT_TEXTSEARCH_EXTRAINDEXERS_H
3 
9 /*
10  * Copyright (C) 2007 Enrico Zini <enrico@debian.org>
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25  */
26 
28 
29 namespace ept {
30 namespace debtags {
31 class Debtags;
32 }
33 namespace textsearch {
34 
36 {
37  virtual void operator()(Xapian::Document& doc, const apt::PackageRecord& rec) const;
38 };
39 
41 {
43  DebtagsExtraIndexer(const debtags::Debtags& debtags) : debtags(debtags) {}
44  virtual void operator()(Xapian::Document& doc, const apt::PackageRecord& rec) const;
45 };
46 
47 }
48 }
49 
50 // vim:set ts=4 sw=4:
51 #endif
Definition: extraindexers.h:40
virtual void operator()(Xapian::Document &doc, const apt::PackageRecord &rec) const
Definition: extraindexers.cc:44
Definition: textsearch.h:121
-*- C++ -*- (c) 2006, 2007 Petr Rockai me@mornfall.net
Definition: apt.cc:43
virtual void operator()(Xapian::Document &doc, const apt::PackageRecord &rec) const
Definition: extraindexers.cc:35
RecordParser specialised with access methods for common Debian package information.
Definition: packagerecord.h:36
Access the on-disk Debtags tag database.
Definition: debtags.h:75
Definition: extraindexers.h:35
DebtagsExtraIndexer(const debtags::Debtags &debtags)
Definition: extraindexers.h:43
const debtags::Debtags & debtags
Definition: extraindexers.h:42