GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71806
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

int Cat_index::a_cats

Allocated space in cat array.

Definition at line 745 of file dig_structs.h.

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

int Cat_index::field
int Cat_index::n_types
int Cat_index::n_ucats

Number of unique cats (not updated)

Definition at line 753 of file dig_structs.h.

Referenced by dig_cidx_sort(), dig_read_cidx_head(), dig_write_cidx_head(), and Vect_cidx_get_unique_cats_by_index().

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_cidx_add_cat(), dig_cidx_add_cat_sorted(), dig_read_cidx(), dig_read_cidx_head(), dig_write_cidx(), and dig_write_cidx_head().

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_cidx_add_cat(), dig_cidx_add_cat_sorted(), dig_cidx_del_cat(), dig_read_cidx_head(), dig_write_cidx_head(), Vect_cidx_dump(), and Vect_cidx_find_all().


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