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
gnucash
import-export
csv-imp
gnc-tokenizer-dummy.hpp
Go to the documentation of this file.
1
/********************************************************************\
2
* gnc-tokenizer-dummy.hpp - takes a file and converts it into a *
3
* two-dimensional vector of strings (table) *
4
* each row will only have one single column *
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
35
#ifndef GNC_DUMMY_TOKENIZER_HPP
36
#define GNC_DUMMY_TOKENIZER_HPP
37
38
#include <config.h>
39
40
#include <iostream>
41
#include <fstream>
// fstream
42
#include <vector>
43
#include <string>
44
#include "
gnc-tokenizer.hpp
"
45
46
class
GncDummyTokenizer
:
public
GncTokenizer
47
{
48
public
:
49
GncDummyTokenizer
() =
default
;
// default constructor
50
GncDummyTokenizer
(
const
GncDummyTokenizer
&) =
default
;
// copy constructor
51
GncDummyTokenizer
& operator=(
const
GncDummyTokenizer
&) =
default
;
// copy assignment
52
GncDummyTokenizer
(
GncDummyTokenizer
&&) =
default
;
// move constructor
53
GncDummyTokenizer
& operator=(
GncDummyTokenizer
&&) =
default
;
// move assignment
54
~
GncDummyTokenizer
() =
default
;
// destructor
55
56
int
tokenize()
override
;
57
};
58
59
#endif
gnc-tokenizer.hpp
Class convert a file into vector of string vectors.
GncDummyTokenizer
Definition:
gnc-tokenizer-dummy.hpp:46
GncTokenizer
Definition:
gnc-tokenizer.hpp:57
Generated by
1.8.14