LCOV - code coverage report
Current view: top level - backends - alltermslist.cc (source / functions) Hit Total Coverage
Test: Test Coverage for xapian-core r Lines: 0 8 0.0 %
Date: 2011-08-21 Functions: 0 4 0.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /** @file alltermslist.cc
       2                 :            :  * @brief Abstract base class for iterating all terms in a database.
       3                 :            :  */
       4                 :            : /* Copyright (C) 2007,2008 Olly Betts
       5                 :            :  *
       6                 :            :  * This program is free software; you can redistribute it and/or modify
       7                 :            :  * it under the terms of the GNU General Public License as published by
       8                 :            :  * the Free Software Foundation; either version 2 of the License, or
       9                 :            :  * (at your option) any later version.
      10                 :            :  *
      11                 :            :  * This program is distributed in the hope that it will be useful,
      12                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      13                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      14                 :            :  * GNU General Public License for more details.
      15                 :            :  *
      16                 :            :  * You should have received a copy of the GNU General Public License
      17                 :            :  * along with this program; if not, write to the Free Software
      18                 :            :  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
      19                 :            :  */
      20                 :            : 
      21                 :            : #include <config.h>
      22                 :            : 
      23                 :            : #include "alltermslist.h"
      24                 :            : 
      25                 :            : #include <xapian/error.h>
      26                 :            : 
      27                 :            : #include "omassert.h"
      28                 :            : 
      29                 :            : using namespace std;
      30                 :            : 
      31                 :            : Xapian::termcount
      32                 :          0 : AllTermsList::get_approx_size() const
      33                 :            : {
      34                 :            :     // We should never use get_approx_size() on AllTermsList subclasses.
      35                 :            :     Assert(false);
      36                 :          0 :     return 0;
      37                 :            : }
      38                 :            : 
      39                 :            : Xapian::termcount
      40                 :          0 : AllTermsList::get_wdf() const
      41                 :            : {
      42                 :          0 :     throw Xapian::InvalidOperationError("AllTermsList::get_wdf() isn't meaningful");
      43                 :            : }
      44                 :            : 
      45                 :            : Xapian::termcount
      46                 :          0 : AllTermsList::positionlist_count() const
      47                 :            : {
      48                 :          0 :     throw Xapian::InvalidOperationError("AllTermsList::positionlist_count() isn't meaningful");
      49                 :            : }
      50                 :            : 
      51                 :            : Xapian::PositionIterator
      52                 :          0 : AllTermsList::positionlist_begin() const
      53                 :            : {
      54                 :          0 :     throw Xapian::InvalidOperationError("AllTermsList::positionlist_begin() isn't meaningful");
      55                 :            : }

Generated by: LCOV version 1.8