GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
Loading...
Searching...
No Matches
Port_info Struct Reference

Portability info. More...

#include <dig_structs.h>

Data Fields

int byte_order
 File byte order.
 
int off_t_size
 Size of off_t data type.
 
unsigned char dbl_cnvrt [PORT_DOUBLE]
 Conversion matrices between file and native byte order (double)
 
unsigned char flt_cnvrt [PORT_FLOAT]
 Conversion matrices between file and native byte order (float)
 
unsigned char lng_cnvrt [PORT_LONG]
 Conversion matrices between file and native byte order (long)
 
unsigned char int_cnvrt [PORT_INT]
 Conversion matrices between file and native byte order (int)
 
unsigned char shrt_cnvrt [PORT_SHORT]
 Conversion matrices between file and native byte order (short)
 
unsigned char off_t_cnvrt [PORT_OFF_T]
 Conversion matrices between file and native byte order (off_t)
 
int dbl_quick
 Quick reading flag for double.
 
int flt_quick
 Quick reading flag for float.
 
int lng_quick
 Quick reading flag for long.
 
int int_quick
 Quick reading flag for int.
 
int shrt_quick
 Quick reading flag for short.
 
int off_t_quick
 Quick reading flag for off_t.
 

Detailed Description

Portability info.

Set by V1_open_new() or V1_open_old()

Definition at line 179 of file dig_structs.h.

Field Documentation

◆ byte_order

int Port_info::byte_order

File byte order.

Definition at line 183 of file dig_structs.h.

Referenced by dig_init_portable(), and Vect_open_fidx().

◆ dbl_cnvrt

unsigned char Port_info::dbl_cnvrt[PORT_DOUBLE]

Conversion matrices between file and native byte order (double)

Definition at line 192 of file dig_structs.h.

Referenced by dig_init_portable().

◆ dbl_quick

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 219 of file dig_structs.h.

Referenced by dig_init_portable().

◆ flt_cnvrt

unsigned char Port_info::flt_cnvrt[PORT_FLOAT]

Conversion matrices between file and native byte order (float)

Definition at line 196 of file dig_structs.h.

Referenced by dig_init_portable().

◆ flt_quick

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 226 of file dig_structs.h.

Referenced by dig_init_portable().

◆ int_cnvrt

unsigned char Port_info::int_cnvrt[PORT_INT]

Conversion matrices between file and native byte order (int)

Definition at line 204 of file dig_structs.h.

Referenced by dig_init_portable().

◆ int_quick

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 240 of file dig_structs.h.

Referenced by dig_init_portable().

◆ lng_cnvrt

unsigned char Port_info::lng_cnvrt[PORT_LONG]

Conversion matrices between file and native byte order (long)

Definition at line 200 of file dig_structs.h.

Referenced by dig_init_portable().

◆ lng_quick

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 233 of file dig_structs.h.

Referenced by dig_init_portable().

◆ off_t_cnvrt

unsigned char Port_info::off_t_cnvrt[PORT_OFF_T]

Conversion matrices between file and native byte order (off_t)

Definition at line 212 of file dig_structs.h.

Referenced by dig_init_portable().

◆ off_t_quick

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 254 of file dig_structs.h.

Referenced by dig_init_portable().

◆ off_t_size

int Port_info::off_t_size

Size of off_t data type.

Definition at line 187 of file dig_structs.h.

◆ shrt_cnvrt

unsigned char Port_info::shrt_cnvrt[PORT_SHORT]

Conversion matrices between file and native byte order (short)

Definition at line 208 of file dig_structs.h.

Referenced by dig_init_portable().

◆ shrt_quick

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 247 of file dig_structs.h.

Referenced by dig_init_portable().


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