SpatiaLite  4.3.0
Data Fields
vrttxt_reader Struct Reference

Container for Virtual Text file handling. More...

#include <gg_structs.h>

Collaboration diagram for vrttxt_reader:
Collaboration graph
[legend]

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_blockfirst
 pointer to first block of records [linked list]
 
struct vrttxt_row_blocklast
 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
 

Detailed Description

Container for Virtual Text file handling.


The documentation for this struct was generated from the following file: