LCOV - lcov.info - ept/textsearch/extraindexers.h

LTP GCOV extension - code coverage report
Current view: | directory - ept/textsearch - extraindexers.h
Test: | lcov.info
Date: | 2008-08-14 |  | Instrumented lines: | 2
Code covered: | 0.0 % |  | Executed lines: | 0

           1                 : #ifndef EPT_TEXTSEARCH_EXTRAINDEXERS_H
           2                 : #define EPT_TEXTSEARCH_EXTRAINDEXERS_H
           3                 :
           4                 : /** @file
           5                 :  * @author Enrico Zini <enrico@enricozini.org>
           6                 :  * Fast full-text search
           7                 :  */
           8                 :
           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                 :
          27                 : #include <ept/textsearch/textsearch.h>
          28                 :
          29                 : namespace ept {
          30                 : namespace debtags {
          31                 : class Debtags;
          32                 : }
          33                 : namespace textsearch {
          34                 :
          35                 : struct AptTagsExtraIndexer : public TextSearch::ExtraIndexer
          36               0 : {
          37                 :         virtual void operator()(Xapian::Document& doc, const apt::PackageRecord& rec) const;
          38                 : };
          39                 :
          40                 : struct DebtagsExtraIndexer : public TextSearch::ExtraIndexer
          41               0 : {
          42                 :         const debtags::Debtags& debtags;
          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

Generated by: LTP GCOV extension version 1.6