Container for Virtual Text file handling. More...
#include <gg_structs.h>
Data Fields | |
struct vrttxt_column_header | columns [VRTTXT_FIELDS_MAX] |
array of columns (fields) | |
FILE * | text_file |
FILE handle. | |
void * | toUtf8 |
handle to ICONV converter object | |
char | field_separator |
field separator character | |
char | text_separator |
text separator character (quote) | |
char | decimal_separator |
decimal separator | |
int | first_line_titles |
TRUE if the first line contains column names. | |
int | error |
validity flag | |
struct vrttxt_row_block * | first |
pointer to first block of records [linked list] | |
struct vrttxt_row_block * | last |
pointer to last block of records [linked list] | |
struct vrttxt_row ** | rows |
array of pointers to individual records [lines] | |
int | num_rows |
number of records | |
int | line_no |
current Line Number | |
int | max_fields |
max number of columns (fields) | |
int | current_buf_sz |
current buffer size | |
int | current_buf_off |
current buffer offset [parsing] | |
char * | line_buffer |
I/O buffer. | |
char * | field_buffer |
current field buffer | |
int | field_offsets [VRTTXT_FIELDS_MAX] |
array of field offsets [current record] | |
int | field_lens [VRTTXT_FIELDS_MAX] |
array of field lengths [current record] | |
int | max_current_field |
max field [current record] | |
int | current_line_ready |
current record [line] ready for parsing | |
Container for Virtual Text file handling.