LCOV - code coverage report
Current view: top level - libgnucash/backend/sql - gnc-sql-result.cpp (source / functions) Coverage Total Hit
Test: gnucash.info Lines: 100.0 % 5 5
Test Date: 2026-11-02 18:19:43 Functions: 100.0 % 1 1
Legend: Lines:     hit not hit

            Line data    Source code
       1              : /***********************************************************************\
       2              :  * gnc-sql-result.cpp: Encapsulate the results of a SQL query.         *
       3              :  *                                                                     *
       4              :  * Copyright 2016 John Ralls <jralls@ceridwen.us>                      *
       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      *
       9              :  * the 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, contact:                           *
      18              :  *                                                                     *
      19              :  * Free Software Foundation           Voice:  +1-617-542-5942          *
      20              :  * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652          *
      21              :  * Boston, MA  02110-1301,  USA       gnu@gnu.org                      *
      22              : \***********************************************************************/
      23              : 
      24              : #include <config.h>
      25              : #include <sstream>
      26              : #include "gnc-sql-column-table-entry.hpp"
      27              : 
      28              : #include "gnc-sql-result.hpp"
      29              : 
      30              : GncSqlRow&
      31          352 : GncSqlRow::operator++()
      32              : {
      33          352 :     auto& new_row =  m_iter->operator++();
      34          352 :     if (new_row != *this)
      35           76 :         m_iter = nullptr;
      36          352 :     return new_row;
      37              : }
      38              : 
      39              : /*
      40              :   GncSqlResult*
      41              :   GncSqlRow::operator*()
      42              :   {
      43              :   return m_iter->operator*();
      44              :   }
      45              : */
        

Generated by: LCOV version 2.0-1