summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.h
blob: 4b1ed0231fa1c59486d7d6859baac87ce177a81c (plain)
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
#ifndef _H5DUMP_H
#define _H5DUMP_H

#include <hdf5.h>

#define BOOT_BLOCK	"BOOT_BLOCK"
#define GROUPNAME	"GROUP"
#define DATASET		"DATASET"
#define ATTRIBUTE	"ATTRIBUTE"
#define	DATATYPE	"DATATYPE"
#define DATASPACE	"DATASPACE"
#define DATA		"DATA"
#define SCALAR		"SCALAR"
#define SIMPLE		"SIMPLE"
#define COMPLEX		"COMPLEX"
#define STORAGELAYOUT	"STORAGELAYOUT"
#define COMPRESSION	"COMPRESSION"
#define EXTERNAL	"EXTERNAL"
#define SOFTLINK	"SOFTLINK"
#define HARDLINK	"HARDLINK"
#define NLINK		"NLINK"
#define FILENO		"FILENO"
#define OBJNO		"OBJNO"
#define STRSIZE		"STRSIZE"
#define STRPAD		"STRPAD"
#define CSET		"CSET"
#define CTYPE		"CTYPE"
#define CONCATENATOR "//"
#define BEGIN		"{"
#define END		"}"

#define ATTRIBUTE_DATA	0


#define H5DUMP_MAX_RANK	H5S_MAX_RANK

#define begin_obj(obj,name)	printf("%s \"%s\" %s\n", obj, name, BEGIN)
#define end_obj()		printf("%s\n", END);


#endif