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

           Branch data     Line data    Source code
       1                 :            : /** @file remote-document.cc
       2                 :            :  * @brief A document read from a RemoteDatabase.
       3                 :            :  */
       4                 :            : /* Copyright (C) 2008 Olly Betts
       5                 :            :  *
       6                 :            :  * This program is free software; you can redistribute it and/or
       7                 :            :  * modify it under the terms of the GNU General Public License as
       8                 :            :  * published by the Free Software Foundation; either version 2 of the
       9                 :            :  * License, or (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 "remote-document.h"
      24                 :            : 
      25                 :            : #include "debuglog.h"
      26                 :            : #include "omassert.h"
      27                 :            : 
      28                 :            : string
      29                 :          0 : RemoteDocument::do_get_value(Xapian::valueno) const
      30                 :            : {
      31                 :            :     LOGCALL(DB, string, "RemoteDocument::do_get_value", Literal("[slot]"));
      32                 :            :     // Our ctor sets the values, so we should never get here.
      33                 :            :     Assert(false);
      34                 :          0 :     RETURN(string());
      35                 :            : }
      36                 :            : 
      37                 :            : void
      38                 :          0 : RemoteDocument::do_get_all_values(map<Xapian::valueno, string> &) const
      39                 :            : {
      40                 :            :     LOGCALL_VOID(DB, "RemoteDocument::do_get_all_values", Literal("[&values_]"));
      41                 :            :     // Our ctor sets the values, so we should never get here.
      42                 :            :     Assert(false);
      43                 :          0 : }
      44                 :            : 
      45                 :            : string
      46                 :          0 : RemoteDocument::do_get_data() const
      47                 :            : {
      48                 :            :     LOGCALL(DB, string, "RemoteDocument::do_get_data", NO_ARGS);
      49                 :            :     // Our ctor sets the data, so we should never get here.
      50                 :            :     Assert(false);
      51                 :          0 :     RETURN(string());
      52                 :            : }

Generated by: LCOV version 1.8