GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
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 181 of file dig_structs.h.
int Port_info::byte_order |
File byte order.
Definition at line 185 of file dig_structs.h.
Referenced by dig__read_head(), dig__write_head(), dig_init_portable(), dig_Wr_Plus_head(), dig_Wr_spidx_head(), dig_write_cidx_head(), and Vect_open_fidx().
unsigned char Port_info::dbl_cnvrt[PORT_DOUBLE] |
Conversion matrices between file and native byte order (double)
Definition at line 194 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 221 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 198 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 228 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 206 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 242 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 202 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 235 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 214 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 256 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 189 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 210 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 249 of file dig_structs.h.
Referenced by dig__fread_port_S(), dig__fwrite_port_S(), and dig_init_portable().