GnuCash 2.3.0
Data Fields
GncCsvParseData Struct Reference

#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

Detailed Description

Struct containing data for parsing a CSV/Fixed-Width file.

Definition at line 93 of file gnc-csv-model.h.


Field Documentation

GStringChunk* GncCsvParseData::chunk

A chunk of memory in which the contents of orig_lines is stored

Definition at line 103 of file gnc-csv-model.h.

Array of values from the GncCsvColumnType enumeration

Definition at line 105 of file gnc-csv-model.h.

The format of the text in the date columns from date_format_internal.

Definition at line 108 of file gnc-csv-model.h.

List of row numbers in orig_lines that have errors

Definition at line 106 of file gnc-csv-model.h.

raw_str translated into UTF-8

Definition at line 98 of file gnc-csv-model.h.

StfParseOptions_t* GncCsvParseData::options

Options controlling how file_str should be parsed

Definition at line 104 of file gnc-csv-model.h.

file_str parsed into a two-dimensional array of strings

Definition at line 99 of file gnc-csv-model.h.

Holds the maximum value in orig_row_lengths

Definition at line 102 of file gnc-csv-model.h.

The lengths of rows in orig_lines before error messages are appended

Definition at line 100 of file gnc-csv-model.h.

The mapping containing raw_str

Definition at line 96 of file gnc-csv-model.h.

Untouched data from the file as a string

Definition at line 97 of file gnc-csv-model.h.

List of GncCsvTransLine*s created using orig_lines and column_types

Definition at line 107 of file gnc-csv-model.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines