summaryrefslogtreecommitdiffstats
path: root/src/H5Odbg.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-06 12:18:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-06 12:18:05 (GMT)
commit571523db1ffab60b505a0f66d3f7c25f4d1752d7 (patch)
treec3da7f1799eb8048885c4ce2b5372ba5fd3c183a /src/H5Odbg.c
parent4e57d80f2e085a80dfe5f55a39c15e1edc4366f9 (diff)
downloadhdf5-571523db1ffab60b505a0f66d3f7c25f4d1752d7.zip
hdf5-571523db1ffab60b505a0f66d3f7c25f4d1752d7.tar.gz
hdf5-571523db1ffab60b505a0f66d3f7c25f4d1752d7.tar.bz2
[svn-r13243] Description:
Add API routines for tracking & indexing the creation order on attributes. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5Odbg.c')
-rw-r--r--src/H5Odbg.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/H5Odbg.c b/src/H5Odbg.c
index a53493e..90c9376 100644
--- a/src/H5Odbg.c
+++ b/src/H5Odbg.c
@@ -299,6 +299,12 @@ H5O_debug_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, i
"Birth Time:", buf);
/* Attribute tracking fields */
+ HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
+ "Attribute creation order tracked:",
+ (oh->flags & H5P_CRT_ORDER_TRACKED) ? "Yes" : "No");
+ HDfprintf(stream, "%*s%-*s %s\n", indent, "", fwidth,
+ "Attribute creation order indexed:",
+ (oh->flags & H5P_CRT_ORDER_INDEXED) ? "Yes" : "No");
HDfprintf(stream, "%*s%-*s %u\n", indent, "", fwidth,
"Max. compact attributes:",
(unsigned)oh->max_compact);
@@ -377,20 +383,19 @@ H5O_debug_real(H5F_t *f, hid_t dxpl_id, H5O_t *oh, haddr_t addr, FILE *stream, i
(unsigned) (oh->mesg[i].type->id),
oh->mesg[i].type->name,
sequence[oh->mesg[i].type->id]++);
- HDfprintf (stream, "%*s%-*s %t\n", indent+3, "", MAX (0, fwidth-3),
+ HDfprintf(stream, "%*s%-*s %t\n", indent+3, "", MAX (0, fwidth-3),
"Dirty:",
oh->mesg[i].dirty);
- HDfprintf (stream, "%*s%-*s %s\n", indent+3, "", MAX (0, fwidth-3),
+ HDfprintf(stream, "%*s%-*s %s\n", indent+3, "", MAX (0, fwidth-3),
"Shared:",
(oh->mesg[i].flags & H5O_MSG_FLAG_SHARED) ? "Yes" : "No");
HDfprintf(stream, "%*s%-*s %s\n", indent + 3, "", MAX(0, fwidth - 3),
"Constant:",
(oh->mesg[i].flags & H5O_MSG_FLAG_CONSTANT) ? "Yes" : "No");
- if(oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS) {
- HDfprintf (stream, "%*s%-*s 0x%02x\n", indent+3,"",MAX(0,fwidth-3),
+ if(oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS)
+ HDfprintf(stream, "%*s%-*s 0x%02x\n", indent+3,"",MAX(0,fwidth-3),
"*** ADDITIONAL UNKNOWN FLAGS --->",
oh->mesg[i].flags & ~H5O_MSG_FLAG_BITS);
- } /* end if */
HDfprintf(stream, "%*s%-*s %Zu bytes\n", indent+3, "", MAX(0,fwidth-3),
"Raw size in obj header:",
oh->mesg[i].raw_size);