GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
Portability info. More...
#include <dig_structs.h>
Data Fields | |
int | byte_order |
File byte order. More... | |
int | off_t_size |
Size of off_t data type. More... | |
unsigned char | dbl_cnvrt [PORT_DOUBLE] |
Conversion matrices between file and native byte order (double) More... | |
unsigned char | flt_cnvrt [PORT_FLOAT] |
Conversion matrices between file and native byte order (float) More... | |
unsigned char | lng_cnvrt [PORT_LONG] |
Conversion matrices between file and native byte order (long) More... | |
unsigned char | int_cnvrt [PORT_INT] |
Conversion matrices between file and native byte order (int) More... | |
unsigned char | shrt_cnvrt [PORT_SHORT] |
Conversion matrices between file and native byte order (short) More... | |
unsigned char | off_t_cnvrt [PORT_OFF_T] |
Conversion matrices between file and native byte order (off_t) More... | |
int | dbl_quick |
Quick reading flag for double. More... | |
int | flt_quick |
Quick reading flag for float. More... | |
int | lng_quick |
Quick reading flag for long. More... | |
int | int_quick |
Quick reading flag for int. More... | |
int | shrt_quick |
Quick reading flag for short. More... | |
int | off_t_quick |
Quick reading flag for off_t. More... | |
Portability info.
Set by V1_open_new() or V1_open_old()
Definition at line 186 of file dig_structs.h.
int Port_info::byte_order |
File byte order.
Definition at line 191 of file dig_structs.h.
Referenced by dig__read_head(), dig__write_head(), dig_init_portable(), dig_Wr_Plus_head(), dig_Wr_spidx_head(), and dig_write_cidx_head().
unsigned char Port_info::dbl_cnvrt[PORT_DOUBLE] |
Conversion matrices between file and native byte order (double)
Definition at line 200 of file dig_structs.h.
Referenced by dig_init_portable().
int Port_info::dbl_quick |
Quick reading flag for double.
Specify if native byte order of that type is the same as byte order of vector file (TRUE) or not (FALSE)
Definition at line 227 of file dig_structs.h.
Referenced by dig__fread_port_D(), dig__fwrite_port_D(), and dig_init_portable().
unsigned char Port_info::flt_cnvrt[PORT_FLOAT] |
Conversion matrices between file and native byte order (float)
Definition at line 204 of file dig_structs.h.
Referenced by dig_init_portable().
int Port_info::flt_quick |
Quick reading flag for float.
Specify if native byte order of that type is the same as byte order of vector file (TRUE) or not (FALSE)
Definition at line 234 of file dig_structs.h.
Referenced by dig__fread_port_F(), dig__fwrite_port_F(), and dig_init_portable().
unsigned char Port_info::int_cnvrt[PORT_INT] |
Conversion matrices between file and native byte order (int)
Definition at line 212 of file dig_structs.h.
Referenced by dig_init_portable().
int Port_info::int_quick |
Quick reading flag for int.
Specify if native byte order of that type is the same as byte order of vector file (TRUE) or not (FALSE)
Definition at line 248 of file dig_structs.h.
Referenced by dig__fread_port_I(), dig__fwrite_port_I(), and dig_init_portable().
unsigned char Port_info::lng_cnvrt[PORT_LONG] |
Conversion matrices between file and native byte order (long)
Definition at line 208 of file dig_structs.h.
Referenced by dig_init_portable().
int Port_info::lng_quick |
Quick reading flag for long.
Specify if native byte order of that type is the same as byte order of vector file (TRUE) or not (FALSE)
Definition at line 241 of file dig_structs.h.
Referenced by dig__fread_port_L(), dig__fwrite_port_L(), and dig_init_portable().
unsigned char Port_info::off_t_cnvrt[PORT_OFF_T] |
Conversion matrices between file and native byte order (off_t)
Definition at line 220 of file dig_structs.h.
Referenced by dig_init_portable().
int Port_info::off_t_quick |
Quick reading flag for off_t.
Specify if native byte order of that type is the same as byte order of vector file (TRUE) or not (FALSE)
Definition at line 262 of file dig_structs.h.
Referenced by dig__fread_port_O(), dig__fwrite_port_O(), and dig_init_portable().
int Port_info::off_t_size |
Size of off_t
data type.
Definition at line 195 of file dig_structs.h.
Referenced by dig_Rd_spidx_head(), and dig_Wr_spidx_head().
unsigned char Port_info::shrt_cnvrt[PORT_SHORT] |
Conversion matrices between file and native byte order (short)
Definition at line 216 of file dig_structs.h.
Referenced by dig_init_portable().
int Port_info::shrt_quick |
Quick reading flag for short.
Specify if native byte order of that type is the same as byte order of vector file (TRUE) or not (FALSE)
Definition at line 255 of file dig_structs.h.
Referenced by dig__fread_port_S(), dig__fwrite_port_S(), and dig_init_portable().