#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <grass/glocale.h>
#include <grass/gis.h>
#include <grass/Vect.h>
#include <grass/dbmi.h>

Go to the source code of this file.
Functions | |
| const char * | Vect_get_column_names (struct Map_info *Map, int field) |
| Fetches list of DB column names of vector map attribute table. | |
| const char * | Vect_get_column_types (struct Map_info *Map, int field) |
| Fetches list of DB column types of vector map attribute table. | |
| const char * | Vect_get_column_names_types (struct Map_info *Map, int field) |
| Fetches list of DB column names and types of vector map attribute table. | |
Higher level functions for reading/writing/manipulating vectors.
(C) 2005-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file dbcolumns.c.
| const char* Vect_get_column_names | ( | struct Map_info * | Map, | |
| int | field | |||
| ) |
Fetches list of DB column names of vector map attribute table.
| Map | vector map | |
| field | layer number |
NULL on error
Definition at line 40 of file dbcolumns.c.
References Vect_get_field(), and Vect_get_num_dblinks().
| const char* Vect_get_column_names_types | ( | struct Map_info * | Map, | |
| int | field | |||
| ) |
Fetches list of DB column names and types of vector map attribute table.
| Map | vector map | |
| field | layer number |
Definition at line 161 of file dbcolumns.c.
References Vect_get_field(), and Vect_get_num_dblinks().
| const char* Vect_get_column_types | ( | struct Map_info * | Map, | |
| int | field | |||
| ) |
Fetches list of DB column types of vector map attribute table.
| Map | vector map | |
| field | layer number |
NULL on error
Definition at line 99 of file dbcolumns.c.
References Vect_get_field(), and Vect_get_num_dblinks().
1.5.6