GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
Cat_index Struct Reference

Category index. More...

#include <dig_structs.h>

Data Fields

int field
 Field (layer) number. More...
 
int n_cats
 Number of items in cat array. More...
 
int a_cats
 Allocated space in cat array. More...
 
int(* cat )[3]
 Array of cats (cat, type, lines/area) More...
 
int n_ucats
 Number of unique cats (not updated) More...
 
int n_types
 Number of types in type. More...
 
int type [7][2]
 Number of elements for each type. More...
 
off_t offset
 Offset of the beginning of this index in cidx file. More...
 

Detailed Description

Category index.

Definition at line 732 of file dig_structs.h.

Field Documentation

◆ a_cats

int Cat_index::a_cats

Allocated space in cat array.

Definition at line 745 of file dig_structs.h.

Referenced by dig_cidx_free(), dig_read_cidx(), and dig_read_cidx_head().

◆ cat

int(* Cat_index::cat)[3]

Array of cats (cat, type, lines/area)

Definition at line 749 of file dig_structs.h.

Referenced by dig_cidx_free(), dig_read_cidx(), dig_read_cidx_head(), and dig_write_cidx().

◆ field

int Cat_index::field

Field (layer) number.

Definition at line 737 of file dig_structs.h.

Referenced by dig_cidx_free(), dig_read_cidx_head(), dig_write_cidx_head(), and Vect_cidx_dump().

◆ n_cats

int Cat_index::n_cats

Number of items in cat array.

Definition at line 741 of file dig_structs.h.

Referenced by dig_cidx_free(), dig_read_cidx(), dig_read_cidx_head(), dig_write_cidx(), and dig_write_cidx_head().

◆ n_types

int Cat_index::n_types

Number of types in type.

Definition at line 757 of file dig_structs.h.

Referenced by dig_cidx_free(), dig_read_cidx_head(), and dig_write_cidx_head().

◆ n_ucats

int Cat_index::n_ucats

Number of unique cats (not updated)

Definition at line 753 of file dig_structs.h.

Referenced by dig_read_cidx_head(), and dig_write_cidx_head().

◆ offset

off_t Cat_index::offset

Offset of the beginning of this index in cidx file.

Definition at line 773 of file dig_structs.h.

Referenced by dig_read_cidx(), dig_read_cidx_head(), dig_write_cidx(), and dig_write_cidx_head().

◆ type

int Cat_index::type[7][2]

Number of elements for each type.

  • GV_POINT
  • GV_LINE
  • GV_BOUNDARY
  • GV_CENTROID
  • GV_FACE
  • GV_KERNEL
  • GV_AREA

Definition at line 769 of file dig_structs.h.

Referenced by dig_read_cidx_head(), and dig_write_cidx_head().


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