File: hdiff_list.h

package info (click to toggle)
libhdf4 4.2.10-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 25,488 kB
  • ctags: 12,954
  • sloc: ansic: 146,962; sh: 14,905; fortran: 12,480; makefile: 922; yacc: 680; pascal: 418; lex: 170; csh: 41
file content (127 lines) | stat: -rw-r--r-- 4,521 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/****************************************************************************
 * NCSA HDF                                                                 *
 * Software Development Group                                               *
 * National Center for Supercomputing Applications                          *
 * University of Illinois at Urbana-Champaign                               *
 * 605 E. Springfield, Champaign IL 61820                                   *
 *                                                                          *
 * For conditions of distribution and use, see the accompanying             *
 * hdf/COPYING file.                                                        *
 *                                                                          *
 ****************************************************************************/


#ifndef HDF_HDIFF_LIST__
#define HDF_HDIFF_LIST__



#ifdef __cplusplus
extern "C" {
#endif

#include "hdiff_table.h"
#include "hdiff_dim.h"


/* get the list of HDF objects in the file */


uint32 hdiff_list (const char* fname, 
                   dtable_t *table, 
                   diff_dim_table_t *td1,
                   diff_dim_table_t *td2,
                   int *err);


int hdiff_list_vg(const char* fname,
                  int32 file_id,
                  int32 sd_id,             /* SD interface identifier */
                  int32 gr_id,             /* GR interface identifier */
                  dtable_t *table,         /* all objects table */
                  diff_dim_table_t *td1,        /* dimension table 1 */
                  diff_dim_table_t *td2)        /* dimension table 2 */;



int hdiff_list_gr (int32 file_id,int32 gr_id,dtable_t *table);

int hdiff_list_sds(int32 file_id,
                   int32 sd_id,                  /* SD interface identifier */
                   dtable_t *table,              /* all objects table */
                   diff_dim_table_t *td1,             /* dimension table 1 */
                   diff_dim_table_t *td2)             /* dimension table 2 */;



int hdiff_list_vs (int32 file_id,dtable_t *table);
int hdiff_list_glb(int32 sd_id,int32 gr_id);
int hdiff_list_an (int32 file_id);


int insert_vg_attrs(int32 vgroup_id,char *path);
int insert_vg_an(int32 file_id,int32 vgroup_id,char *path);


int insert_vg(const char* fname,
              int32 file_id,
              int32 sd_id,             /* SD interface identifier */
              int32 gr_id,             /* GR interface identifier */
              char*path_name,          /* absolute path for input group name */          
              int32* in_tags,          /* tag list for parent group */
              int32* in_refs,          /* ref list for parent group */
              int npairs,              /* number tag/ref pairs for parent group */
              dtable_t *table,         /* all objects table */
              diff_dim_table_t *td1,        /* dimension table 1 */
              diff_dim_table_t *td2)        /* dimension table 2 */;

int  insert_sds(int32 file_id,
                int32 sd_id,
                int32 tag,            /* tag of input SDS */
                int32 ref,            /* ref of input SDS */
                char *path_name,      /* absolute path for input group name */
                dtable_t *table,      /* all objects table */
                diff_dim_table_t *td1,     /* dimension table 1 */
                diff_dim_table_t *td2)     /* dimension table 2 */;

int  insert_gr(int32 file_id,
               int32 gr_in,
               int32 tag,               /* tag of input GR */
               int32 ref,               /* ref of input GR */
               char*path_name,          /* absolute path for input group name */
               dtable_t *table);

int  insert_vs( int32 file_id,
                int32 ref,               /* ref of input VS */
                char*path_name,          /* absolute path for input group name */
                dtable_t *table,
                int is_lone);


int insert_sds_attrs(int32 sds_id,
                     int32 nattrs);

int insert_gr_attrs(int32 ri_id,
                    int32 nattrs);


int insert_an(int32 file_id,
              int32 ref_in, 
              int32 tag_in,
              char *path);

int insert_vs_an(int32 file_id,
                 int32 vdata_id,
                 char *path);

int  insert_vs_attrs(int32 in, int32 findex, intn attrindex);




#ifdef __cplusplus
}
#endif


#endif  /* HDF_HDIFF_LIST__ */