GnuCash
5.6-150-g038405b370+
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Related Functions
+
Files
File List
+
Globals
+
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Functions
c
d
f
g
i
n
o
p
q
s
t
u
x
Variables
+
Typedefs
a
b
g
l
o
p
q
s
t
+
Enumerations
c
d
f
g
p
q
r
s
u
+
Enumerator
a
c
d
e
g
n
q
s
t
u
w
+
Macros
a
c
e
f
g
m
n
o
p
q
s
t
v
x
y
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
backend
sql
gnc-sql-result.cpp
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
GncSqlRow::operator++()
32
{
33
auto
& new_row = m_iter->operator++();
34
if
(new_row != *
this
)
35
m_iter =
nullptr
;
36
return
new_row;
37
}
38
39
/*
40
GncSqlResult*
41
GncSqlRow::operator*()
42
{
43
return m_iter->operator*();
44
}
45
*/
GncSqlRow
Row of SQL Query results.
Definition:
gnc-sql-result.hpp:80
Generated by
1.8.14