GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
diglib/cindex.c File Reference
#include <stdlib.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/Vect.h>
Include dependency graph for diglib/cindex.c:

Go to the source code of this file.

Functions

int dig_cidx_init (struct Plus_head *Plus)
 
void dig_cidx_free (struct Plus_head *Plus)
 
int dig_cidx_add_cat (struct Plus_head *Plus, int field, int cat, int line, int type)
 
int dig_cidx_add_cat_sorted (struct Plus_head *Plus, int field, int cat, int line, int type)
 
int dig_cidx_del_cat (struct Plus_head *Plus, int field, int cat, int line, int type)
 
void dig_cidx_sort (struct Plus_head *Plus)
 

Function Documentation

int dig_cidx_add_cat ( struct Plus_head *  Plus,
int  field,
int  cat,
int  line,
int  type 
)

Definition at line 68 of file diglib/cindex.c.

References cat, G_debug(), NULL, and dialogs::type.

Referenced by V2_restore_line_nat(), and Vect_build_nat().

int dig_cidx_add_cat_sorted ( struct Plus_head *  Plus,
int  field,
int  cat,
int  line,
int  type 
)

Definition at line 167 of file diglib/cindex.c.

References cat, G_debug(), NULL, and dialogs::type.

int dig_cidx_del_cat ( struct Plus_head *  Plus,
int  field,
int  cat,
int  line,
int  type 
)

Definition at line 262 of file diglib/cindex.c.

References G_debug(), G_warning(), and NULL.

Referenced by V2_delete_line_nat().

void dig_cidx_free ( struct Plus_head *  Plus)

Definition at line 44 of file diglib/cindex.c.

References G_debug(), G_free(), and NULL.

Referenced by dig_free_plus(), Vect__open_old(), Vect_build_partial(), and Vect_close().

int dig_cidx_init ( struct Plus_head *  Plus)

Definition at line 29 of file diglib/cindex.c.

References G_debug().

Referenced by dig_init_plus(), dig_read_cidx(), Vect_build_partial(), and Vect_cidx_open().

void dig_cidx_sort ( struct Plus_head *  Plus)

Definition at line 323 of file diglib/cindex.c.

References G_debug().

Referenced by Vect_build_partial().