OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
vpfrelat.h
Go to the documentation of this file.
1 
2 /* VPFRELATE.H - Functions supporting relates between VPF tables */
3  /* One to many relates */
4 #ifndef vpfrelat_HEADER
5 #define vpfrelat_HEADER
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 #define R_ONE 1
12 #define R_MANY 2
13 
14 typedef struct {
15  char table1[40];
16  char key1[40];
17  char table2[40];
18  char key2[40];
19  int degree;
21 
22 typedef struct {
23  int nchain;
27 
28 
29 linked_list_type fcs_relate_list( char *fcname, char *start_table,
30  char *end_table, vpf_table_type fcs );
31 
32 ossim_int32 related_row( void *keyval1,
33  vpf_table_type table2, char *key2,
34  int sort_flag );
35 
36 linked_list_type related_rows( void *keyval1,
37  vpf_table_type table2, char *key2,
38  int sort_flag,
39  ThematicIndex *idx );
40 
41 
43  char *start_table, char *end_table );
44 
46 
48  fcrel_type fcrel,
49  ossim_int32 tile,
50  ThematicIndex *idx );
51 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
vpf_table_type * table
Definition: vpfrelat.h:24
ossim_int32 related_row(void *keyval1, vpf_table_type table2, char *key2, int sort_flag)
linked_list_type related_rows(void *keyval1, vpf_table_type table2, char *key2, int sort_flag, ThematicIndex *idx)
ossim_int32 fc_row_number(row_type row, fcrel_type fcrel, ossim_int32 tile)
void deselect_feature_class_relate(fcrel_type *fcrel)
linked_list_type fcs_relate_list(char *fcname, char *start_table, char *end_table, vpf_table_type fcs)
fcrel_type select_feature_class_relate(int fcnum, library_type *library, char *start_table, char *end_table)
linked_list_type fc_row_numbers(row_type row, fcrel_type fcrel, ossim_int32 tile, ThematicIndex *idx)
struct feature_class_relate_type fcrel_type
linked_list_type relate_list
Definition: vpfrelat.h:25
int ossim_int32