Geant4 Cross Reference |
1 // Copyright (C) 2010, Guy Barrand. All rights 1 // Copyright (C) 2010, Guy Barrand. All rights reserved. 2 // See the file tools.license for terms. 2 // See the file tools.license for terms. 3 3 4 #ifndef toolx_hdf5_h 4 #ifndef toolx_hdf5_h 5 #define toolx_hdf5_h 5 #define toolx_hdf5_h 6 6 7 #include <hdf5.h> 7 #include <hdf5.h> 8 8 9 #if (H5_VERS_MAJOR>=1) && (H5_VERS_MINOR<=6) 9 #if (H5_VERS_MAJOR>=1) && (H5_VERS_MINOR<=6) 10 #define toolx_H5Dopen H5Dopen 10 #define toolx_H5Dopen H5Dopen 11 #define toolx_H5Dcreate H5Dcreate 11 #define toolx_H5Dcreate H5Dcreate 12 #define toolx_H5Acreate H5Acreate 12 #define toolx_H5Acreate H5Acreate 13 #define toolx_H5Tarray_create H5Tarray_creat 13 #define toolx_H5Tarray_create H5Tarray_create 14 #define toolx_H5Tget_array_dims H5Tget_array_d 14 #define toolx_H5Tget_array_dims H5Tget_array_dims 15 #define toolx_H5Gcreate H5Gcreate 15 #define toolx_H5Gcreate H5Gcreate 16 #define toolx_H5Gopen H5Gopen 16 #define toolx_H5Gopen H5Gopen 17 #define toolx_H5Aiterate H5Aiterate 17 #define toolx_H5Aiterate H5Aiterate 18 #define toolx_H5free_memory free 18 #define toolx_H5free_memory free 19 #else 19 #else 20 #define toolx_H5Dopen H5Dopen1 20 #define toolx_H5Dopen H5Dopen1 21 #define toolx_H5Dcreate H5Dcreate1 21 #define toolx_H5Dcreate H5Dcreate1 22 #define toolx_H5Acreate H5Acreate1 22 #define toolx_H5Acreate H5Acreate1 23 #define toolx_H5Tarray_create H5Tarray_creat 23 #define toolx_H5Tarray_create H5Tarray_create1 24 #define toolx_H5Tget_array_dims H5Tget_array_d 24 #define toolx_H5Tget_array_dims H5Tget_array_dims1 25 #define toolx_H5Gcreate H5Gcreate1 25 #define toolx_H5Gcreate H5Gcreate1 26 #define toolx_H5Gopen H5Gopen1 26 #define toolx_H5Gopen H5Gopen1 27 #define toolx_H5Aiterate H5Aiterate1 27 #define toolx_H5Aiterate H5Aiterate1 28 #define toolx_H5free_memory H5free_memory 28 #define toolx_H5free_memory H5free_memory 29 #endif 29 #endif 30 30 31 #endif 31 #endif