MISR Toolkit  1.5.1
vg.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF. The full HDF copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the COPYING file, which can be found at the root of the source code *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF/releases/. *
10  * If you do not have access to either file, you may request a copy from *
11  * help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /* $Id$ */
15 
16 /*****************************************************************************
17 *
18 * vg.h
19 *
20 * Part of HDF VSet interface
21 *
22 * defines symbols and structures used in all v*.c files
23 *
24 * NOTES:
25 * This include file depends on the basic HDF *.h files hdfi.h and hdf.h.
26 * An 'S' in the comment means that that data field is saved in the HDF file.
27 *
28 ******************************************************************************/
29 
30 #ifndef _VG_H
31 #define _VG_H
32 
33 /* -------------- H D F V S E T tags ---------------------------- */
34 
35 /* In what versions were these valid? */
36 #define OLD_VGDESCTAG 61820 /* tag for a vgroup d */
37 #define OLD_VSDESCTAG 61821 /* tag for a vdata descriptor */
38 #define OLD_VSDATATAG 61822 /* tag for actual raw data of a vdata */
39 
40 /* re-define what new ones are. Don't know why there are two sets but
41  made them conform to what was in 'htags.h' */
42 #define NEW_VGDESCTAG DFTAG_VG
43 #define NEW_VSDESCTAG DFTAG_VH
44 #define NEW_VSDATATAG DFTAG_VS
45 
46 #define VGDESCTAG NEW_VGDESCTAG
47 #define VSDESCTAG NEW_VSDESCTAG
48 #define VSDATATAG NEW_VSDATATAG
49 
50 #define _HDF_VSPACK 0
51 #define _HDF_VSUNPACK 1
52 #define VG_ATTR_SET 0x00000001 /* this vgroup has attribute(s) */
53 #define VS_ATTR_SET 0x00000001 /* this vdata has attribute(s) */
54 #define _HDF_VDATA -1 /* used in vdata attr interface
55  findex to represent the entire vdata */
56 #define _HDF_ENTIRE_VDATA _HDF_VDATA /* if users have already used
57  _HDF_ENTIRE_VDATA since 4.1b1 was out */
58 
59 /* Size of the atom hash table */
60 #define VATOM_HASH_SIZE 256
61 
62 /* .................................................................. */
63 #define VSET_NEW_VERSION 4 /* if attr or other new features are set */
64 #define VSET_VERSION 3 /* DO NOT CHANGE!! */
65 #define VSET_OLD_VERSION 2 /* All version <= 2 use old type mappings */
66 #define VSET_OLD_TYPES VSET_OLD_VERSION /* For backward compatibility */
67 
68 /* Only include the library header if the VSET_INTERFACE macro is defined */
69 #ifdef VSET_INTERFACE
70 #include "vgint.h" /* Library VSet information header */
71 #endif /* VSET_INTERFACE */
72 
73 #endif /* _VG_H */

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52