GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
vector/diglib/type.c File Reference

Vector library - feature type conversion (lower level functions) More...

#include <grass/gis.h>
#include <grass/Vect.h>
Include dependency graph for vector/diglib/type.c:

Go to the source code of this file.

Functions

int dig_type_to_store (int type)
 Convert type to store type. More...
 
int dig_type_from_store (int stype)
 Convert type from store type. More...
 

Detailed Description

Vector library - feature type conversion (lower level functions)

Lower level functions for reading/writing/manipulating vectors.

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
Radim Blazek
Date
2001

Definition in file vector/diglib/type.c.

Function Documentation

int dig_type_from_store ( int  stype)

Convert type from store type.

Parameters
typefeature store type
Returns
type

Definition at line 58 of file vector/diglib/type.c.

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

int dig_type_to_store ( int  type)

Convert type to store type.

Parameters
typefeature type
Returns
store type

Definition at line 27 of file vector/diglib/type.c.

Referenced by dig_Wr_P_line(), dig_write_cidx(), dig_write_cidx_head(), and V1__rewrite_line_nat().