GnuCash
2.6.99
|
#include <gnc-csv-model.h>
Data Fields | |
gchar * | encoding |
GMappedFile * | raw_mapping |
GncCsvStr | raw_str |
GncCsvStr | file_str |
GPtrArray * | orig_lines |
GArray * | orig_row_lengths |
int | orig_max_row |
GStringChunk * | chunk |
StfParseOptions_t * | options |
GArray * | column_types |
GList * | error_lines |
GList * | transactions |
int | date_format |
int | start_row |
int | end_row |
gboolean | skip_rows |
int | currency_format |
Struct containing data for parsing a CSV/Fixed-Width file.
Definition at line 100 of file gnc-csv-model.h.
GStringChunk* GncCsvParseData::chunk |
A chunk of memory in which the contents of orig_lines is stored
Definition at line 110 of file gnc-csv-model.h.
GArray* GncCsvParseData::column_types |
Array of values from the GncCsvColumnType enumeration
Definition at line 112 of file gnc-csv-model.h.
int GncCsvParseData::currency_format |
The currency format, 0 for locale, 1 for comma dec and 2 for period
Definition at line 119 of file gnc-csv-model.h.
int GncCsvParseData::date_format |
The format of the text in the date columns from date_format_internal.
Definition at line 115 of file gnc-csv-model.h.
int GncCsvParseData::end_row |
The end row to generate transactions from.
Definition at line 117 of file gnc-csv-model.h.
GList* GncCsvParseData::error_lines |
List of row numbers in orig_lines that have errors
Definition at line 113 of file gnc-csv-model.h.
GncCsvStr GncCsvParseData::file_str |
raw_str translated into UTF-8
Definition at line 105 of file gnc-csv-model.h.
StfParseOptions_t* GncCsvParseData::options |
Options controlling how file_str should be parsed
Definition at line 111 of file gnc-csv-model.h.
GPtrArray* GncCsvParseData::orig_lines |
file_str parsed into a two-dimensional array of strings
Definition at line 106 of file gnc-csv-model.h.
int GncCsvParseData::orig_max_row |
Holds the maximum value in orig_row_lengths
Definition at line 109 of file gnc-csv-model.h.
GArray* GncCsvParseData::orig_row_lengths |
The lengths of rows in orig_lines before error messages are appended
Definition at line 107 of file gnc-csv-model.h.
GMappedFile* GncCsvParseData::raw_mapping |
The mapping containing raw_str
Definition at line 103 of file gnc-csv-model.h.
GncCsvStr GncCsvParseData::raw_str |
Untouched data from the file as a string
Definition at line 104 of file gnc-csv-model.h.
gboolean GncCsvParseData::skip_rows |
Skip Alternate Rows from start row.
Definition at line 118 of file gnc-csv-model.h.
int GncCsvParseData::start_row |
The start row to generate transactions from.
Definition at line 116 of file gnc-csv-model.h.
GList* GncCsvParseData::transactions |
List of GncCsvTransLine*s created using orig_lines and column_types
Definition at line 114 of file gnc-csv-model.h.