diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-03-17 22:46:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-03-17 22:46:27 (GMT) |
commit | 96dd634330502cdde53905c9edbef56028323969 (patch) | |
tree | 18e95df957a1b8b78604016aa8a6108b3c85c10b /src/H5Apublic.h | |
parent | 4494348eb229ae0661754c974695d8a293c6168b (diff) | |
download | hdf5-96dd634330502cdde53905c9edbef56028323969.zip hdf5-96dd634330502cdde53905c9edbef56028323969.tar.gz hdf5-96dd634330502cdde53905c9edbef56028323969.tar.bz2 |
[svn-r324] Change H5A (atoms) to H5I (IDs)
Diffstat (limited to 'src/H5Apublic.h')
-rw-r--r-- | src/H5Apublic.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/src/H5Apublic.h b/src/H5Apublic.h deleted file mode 100644 index 648e852..0000000 --- a/src/H5Apublic.h +++ /dev/null @@ -1,69 +0,0 @@ -/**************************************************************************** - * 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. * - * * - ****************************************************************************/ - -/* - * This file contains function prototypes for each exported function in - * the H5A module. - */ -#ifndef _H5Apublic_H -#define _H5Apublic_H - -/* Public headers needed by this file */ -#include <H5public.h> - -/* Group values allowed */ -typedef enum { - BADGROUP = (-1),/*invalid Group */ - H5_FILE = 0, /*group ID for File objects */ - H5_TEMPLATE_0, /*group ID for Template objects */ - H5_TEMPLATE_1, /*group ID for Template objects */ - H5_TEMPLATE_2, /*group ID for Template objects */ - H5_TEMPLATE_3, /*group ID for Template objects */ - H5_TEMPLATE_4, /*group ID for Template objects */ - H5_TEMPLATE_5, /*group ID for Template objects */ - H5_TEMPLATE_6, /*group ID for Template objects */ - H5_TEMPLATE_7, /*group ID for Template objects */ -#ifndef NDEBUG - H5_TEMPLATE_MAX, /*not really a group ID */ -#endif - H5_GROUP, /*group ID for Group objects */ - H5_DATATYPE, /*group ID for Datatype objects */ - H5_DATASPACE, /*group ID for Dataspace objects */ - H5_DATASET, /*group ID for Dataset objects */ - H5_DIRECTORY, /*group ID for Directory objects */ - MAXGROUP /*highest group in group_t (Invalid as true group)*/ -} group_t; - -/* Type of atoms to return to users */ -typedef int hid_t; - -/* # of bits to use for Group ID in each atom (change if MAXGROUP>16) */ -#define GROUP_BITS 8 -#define GROUP_MASK 0xFF - -/* # of bits to use for the Atom index in each atom (assumes 8-bit bytes) */ -#define ATOM_BITS ((sizeof(hid_t)*8)-GROUP_BITS) -#define ATOM_MASK 0x0FFFFFFF - -/* Combine a Group number and an atom index into an atom */ -#define MAKE_ATOM(g,i) ((((hid_t)(g)&GROUP_MASK)<<ATOM_BITS)| \ - ((hid_t)(i)&ATOM_MASK)) - -#ifdef __cplusplus -extern "C" { -#endif - - -#ifdef __cplusplus -} -#endif -#endif |