diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-04-23 22:24:38 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-04-23 22:24:38 (GMT) |
commit | ca0a7c164e2e492d5c48d066bacf83a92e675c2e (patch) | |
tree | 37c5124c23ceddf677e9e6516e0dde696152655c /src/H5Apkg.h | |
parent | eba569241e9675494bcc7df4d0005b4a75a1d82d (diff) | |
download | hdf5-ca0a7c164e2e492d5c48d066bacf83a92e675c2e.zip hdf5-ca0a7c164e2e492d5c48d066bacf83a92e675c2e.tar.gz hdf5-ca0a7c164e2e492d5c48d066bacf83a92e675c2e.tar.bz2 |
[svn-r361] Added Attribute (H5A) code.
Diffstat (limited to 'src/H5Apkg.h')
-rw-r--r-- | src/H5Apkg.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h new file mode 100644 index 0000000..b6f1a24 --- /dev/null +++ b/src/H5Apkg.h @@ -0,0 +1,46 @@ +/* + * Copyright (C) 1997 NCSA + * All rights reserved. + * + * Programmer: Robb Matzke <matzke@llnl.gov> + * Monday, December 8, 1997 + * + * Purpose: This file contains declarations which are visible only within + * the H5A package. Source files outside the H5A package should + * include H5Aprivate.h instead. + */ +#ifndef H5A_PACKAGE +#error "Do not include this file outside the H5A package!" +#endif + +#ifndef _H5Apkg_H +#define _H5Apkg_H + +/* + * Define this to enable debugging. + */ +#ifdef NDEBUG +# undef H5A_DEBUG +#endif + +#include <H5HGprivate.h> +#include <H5Aprivate.h> + +struct H5A_t { + uintn initialized;/* Indicate whether the attribute has been modified */ + uintn ent_opened; /* Object header entry opened? */ + H5G_entry_t ent; /* Object Header entry (for both datasets & groups) */ + char *name; /* Attribute's name */ + H5T_t *dt; /* Attribute's datatype */ + size_t dt_size; /* Size of datatype on disk */ + H5S_t *ds; /* Attribute's dataspace */ + size_t ds_size; /* Size of dataspace on disk */ + void *data; /* Attribute data (on a temporary basis) */ + size_t data_size; /* Size of data on disk */ + H5HG_t sh_heap; /*if defined, attribute is in global heap */ + H5F_t *sh_file; /*file pointer if this is a shared attribute */ +}; + +/* Function prototypes for H5T package scope */ + +#endif |