H5Epubgen.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
  2. * Copyright by The HDF Group. *
  3. * Copyright by the Board of Trustees of the University of Illinois. *
  4. * All rights reserved. *
  5. * *
  6. * This file is part of HDF5. The full HDF5 copyright notice, including *
  7. * terms governing use, modification, and redistribution, is contained in *
  8. * the COPYING file, which can be found at the root of the source code *
  9. * distribution tree, or in https://www.hdfgroup.org/licenses. *
  10. * If you do not have access to either file, you may request a copy from *
  11. * help@hdfgroup.org. *
  12. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  13. /* Generated automatically by bin/make_err -- do not edit */
  14. /* Add new errors to H5err.txt file */
  15. #ifndef H5Epubgen_H
  16. #define H5Epubgen_H
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /*********************/
  21. /* Major error codes */
  22. /*********************/
  23. #define H5E_FUNC (H5OPEN H5E_FUNC_g)
  24. #define H5E_FILE (H5OPEN H5E_FILE_g)
  25. #define H5E_VOL (H5OPEN H5E_VOL_g)
  26. #define H5E_SOHM (H5OPEN H5E_SOHM_g)
  27. #define H5E_SYM (H5OPEN H5E_SYM_g)
  28. #define H5E_PLUGIN (H5OPEN H5E_PLUGIN_g)
  29. #define H5E_VFL (H5OPEN H5E_VFL_g)
  30. #define H5E_INTERNAL (H5OPEN H5E_INTERNAL_g)
  31. #define H5E_BTREE (H5OPEN H5E_BTREE_g)
  32. #define H5E_REFERENCE (H5OPEN H5E_REFERENCE_g)
  33. #define H5E_DATASPACE (H5OPEN H5E_DATASPACE_g)
  34. #define H5E_RESOURCE (H5OPEN H5E_RESOURCE_g)
  35. #define H5E_EVENTSET (H5OPEN H5E_EVENTSET_g)
  36. #define H5E_ID (H5OPEN H5E_ID_g)
  37. #define H5E_RS (H5OPEN H5E_RS_g)
  38. #define H5E_FARRAY (H5OPEN H5E_FARRAY_g)
  39. #define H5E_HEAP (H5OPEN H5E_HEAP_g)
  40. #define H5E_MAP (H5OPEN H5E_MAP_g)
  41. #define H5E_ATTR (H5OPEN H5E_ATTR_g)
  42. #define H5E_IO (H5OPEN H5E_IO_g)
  43. #define H5E_EFL (H5OPEN H5E_EFL_g)
  44. #define H5E_TST (H5OPEN H5E_TST_g)
  45. #define H5E_LIB (H5OPEN H5E_LIB_g)
  46. #define H5E_PAGEBUF (H5OPEN H5E_PAGEBUF_g)
  47. #define H5E_FSPACE (H5OPEN H5E_FSPACE_g)
  48. #define H5E_DATASET (H5OPEN H5E_DATASET_g)
  49. #define H5E_STORAGE (H5OPEN H5E_STORAGE_g)
  50. #define H5E_LINK (H5OPEN H5E_LINK_g)
  51. #define H5E_PLIST (H5OPEN H5E_PLIST_g)
  52. #define H5E_DATATYPE (H5OPEN H5E_DATATYPE_g)
  53. #define H5E_OHDR (H5OPEN H5E_OHDR_g)
  54. #define H5E_NONE_MAJOR (H5OPEN H5E_NONE_MAJOR_g)
  55. #define H5E_SLIST (H5OPEN H5E_SLIST_g)
  56. #define H5E_ARGS (H5OPEN H5E_ARGS_g)
  57. #define H5E_CONTEXT (H5OPEN H5E_CONTEXT_g)
  58. #define H5E_EARRAY (H5OPEN H5E_EARRAY_g)
  59. #define H5E_PLINE (H5OPEN H5E_PLINE_g)
  60. #define H5E_ERROR (H5OPEN H5E_ERROR_g)
  61. #define H5E_CACHE (H5OPEN H5E_CACHE_g)
  62. H5_DLLVAR hid_t H5E_FUNC_g; /* Function entry/exit */
  63. H5_DLLVAR hid_t H5E_FILE_g; /* File accessibility */
  64. H5_DLLVAR hid_t H5E_VOL_g; /* Virtual Object Layer */
  65. H5_DLLVAR hid_t H5E_SOHM_g; /* Shared Object Header Messages */
  66. H5_DLLVAR hid_t H5E_SYM_g; /* Symbol table */
  67. H5_DLLVAR hid_t H5E_PLUGIN_g; /* Plugin for dynamically loaded library */
  68. H5_DLLVAR hid_t H5E_VFL_g; /* Virtual File Layer */
  69. H5_DLLVAR hid_t H5E_INTERNAL_g; /* Internal error (too specific to document in detail) */
  70. H5_DLLVAR hid_t H5E_BTREE_g; /* B-Tree node */
  71. H5_DLLVAR hid_t H5E_REFERENCE_g; /* References */
  72. H5_DLLVAR hid_t H5E_DATASPACE_g; /* Dataspace */
  73. H5_DLLVAR hid_t H5E_RESOURCE_g; /* Resource unavailable */
  74. H5_DLLVAR hid_t H5E_EVENTSET_g; /* Event Set */
  75. H5_DLLVAR hid_t H5E_ID_g; /* Object ID */
  76. H5_DLLVAR hid_t H5E_RS_g; /* Reference Counted Strings */
  77. H5_DLLVAR hid_t H5E_FARRAY_g; /* Fixed Array */
  78. H5_DLLVAR hid_t H5E_HEAP_g; /* Heap */
  79. H5_DLLVAR hid_t H5E_MAP_g; /* Map */
  80. H5_DLLVAR hid_t H5E_ATTR_g; /* Attribute */
  81. H5_DLLVAR hid_t H5E_IO_g; /* Low-level I/O */
  82. H5_DLLVAR hid_t H5E_EFL_g; /* External file list */
  83. H5_DLLVAR hid_t H5E_TST_g; /* Ternary Search Trees */
  84. H5_DLLVAR hid_t H5E_LIB_g; /* General library infrastructure */
  85. H5_DLLVAR hid_t H5E_PAGEBUF_g; /* Page Buffering */
  86. H5_DLLVAR hid_t H5E_FSPACE_g; /* Free Space Manager */
  87. H5_DLLVAR hid_t H5E_DATASET_g; /* Dataset */
  88. H5_DLLVAR hid_t H5E_STORAGE_g; /* Data storage */
  89. H5_DLLVAR hid_t H5E_LINK_g; /* Links */
  90. H5_DLLVAR hid_t H5E_PLIST_g; /* Property lists */
  91. H5_DLLVAR hid_t H5E_DATATYPE_g; /* Datatype */
  92. H5_DLLVAR hid_t H5E_OHDR_g; /* Object header */
  93. H5_DLLVAR hid_t H5E_NONE_MAJOR_g; /* No error */
  94. H5_DLLVAR hid_t H5E_SLIST_g; /* Skip Lists */
  95. H5_DLLVAR hid_t H5E_ARGS_g; /* Invalid arguments to routine */
  96. H5_DLLVAR hid_t H5E_CONTEXT_g; /* API Context */
  97. H5_DLLVAR hid_t H5E_EARRAY_g; /* Extensible Array */
  98. H5_DLLVAR hid_t H5E_PLINE_g; /* Data filters */
  99. H5_DLLVAR hid_t H5E_ERROR_g; /* Error API */
  100. H5_DLLVAR hid_t H5E_CACHE_g; /* Object cache */
  101. /*********************/
  102. /* Minor error codes */
  103. /*********************/
  104. /* Object ID related errors */
  105. #define H5E_BADID (H5OPEN H5E_BADID_g)
  106. #define H5E_BADGROUP (H5OPEN H5E_BADGROUP_g)
  107. #define H5E_CANTREGISTER (H5OPEN H5E_CANTREGISTER_g)
  108. #define H5E_CANTINC (H5OPEN H5E_CANTINC_g)
  109. #define H5E_CANTDEC (H5OPEN H5E_CANTDEC_g)
  110. #define H5E_NOIDS (H5OPEN H5E_NOIDS_g)
  111. H5_DLLVAR hid_t H5E_BADID_g; /* Unable to find ID information (already closed?) */
  112. H5_DLLVAR hid_t H5E_BADGROUP_g; /* Unable to find ID group information */
  113. H5_DLLVAR hid_t H5E_CANTREGISTER_g; /* Unable to register new ID */
  114. H5_DLLVAR hid_t H5E_CANTINC_g; /* Unable to increment reference count */
  115. H5_DLLVAR hid_t H5E_CANTDEC_g; /* Unable to decrement reference count */
  116. H5_DLLVAR hid_t H5E_NOIDS_g; /* Out of IDs for group */
  117. /* Generic low-level file I/O errors */
  118. #define H5E_SEEKERROR (H5OPEN H5E_SEEKERROR_g)
  119. #define H5E_READERROR (H5OPEN H5E_READERROR_g)
  120. #define H5E_WRITEERROR (H5OPEN H5E_WRITEERROR_g)
  121. #define H5E_CLOSEERROR (H5OPEN H5E_CLOSEERROR_g)
  122. #define H5E_OVERFLOW (H5OPEN H5E_OVERFLOW_g)
  123. #define H5E_FCNTL (H5OPEN H5E_FCNTL_g)
  124. H5_DLLVAR hid_t H5E_SEEKERROR_g; /* Seek failed */
  125. H5_DLLVAR hid_t H5E_READERROR_g; /* Read failed */
  126. H5_DLLVAR hid_t H5E_WRITEERROR_g; /* Write failed */
  127. H5_DLLVAR hid_t H5E_CLOSEERROR_g; /* Close failed */
  128. H5_DLLVAR hid_t H5E_OVERFLOW_g; /* Address overflowed */
  129. H5_DLLVAR hid_t H5E_FCNTL_g; /* File control (fcntl) failed */
  130. /* Resource errors */
  131. #define H5E_NOSPACE (H5OPEN H5E_NOSPACE_g)
  132. #define H5E_CANTALLOC (H5OPEN H5E_CANTALLOC_g)
  133. #define H5E_CANTCOPY (H5OPEN H5E_CANTCOPY_g)
  134. #define H5E_CANTFREE (H5OPEN H5E_CANTFREE_g)
  135. #define H5E_ALREADYEXISTS (H5OPEN H5E_ALREADYEXISTS_g)
  136. #define H5E_CANTLOCK (H5OPEN H5E_CANTLOCK_g)
  137. #define H5E_CANTUNLOCK (H5OPEN H5E_CANTUNLOCK_g)
  138. #define H5E_CANTGC (H5OPEN H5E_CANTGC_g)
  139. #define H5E_CANTGETSIZE (H5OPEN H5E_CANTGETSIZE_g)
  140. #define H5E_OBJOPEN (H5OPEN H5E_OBJOPEN_g)
  141. H5_DLLVAR hid_t H5E_NOSPACE_g; /* No space available for allocation */
  142. H5_DLLVAR hid_t H5E_CANTALLOC_g; /* Can't allocate space */
  143. H5_DLLVAR hid_t H5E_CANTCOPY_g; /* Unable to copy object */
  144. H5_DLLVAR hid_t H5E_CANTFREE_g; /* Unable to free object */
  145. H5_DLLVAR hid_t H5E_ALREADYEXISTS_g; /* Object already exists */
  146. H5_DLLVAR hid_t H5E_CANTLOCK_g; /* Unable to lock object */
  147. H5_DLLVAR hid_t H5E_CANTUNLOCK_g; /* Unable to unlock object */
  148. H5_DLLVAR hid_t H5E_CANTGC_g; /* Unable to garbage collect */
  149. H5_DLLVAR hid_t H5E_CANTGETSIZE_g; /* Unable to compute size */
  150. H5_DLLVAR hid_t H5E_OBJOPEN_g; /* Object is already open */
  151. /* Heap errors */
  152. #define H5E_CANTRESTORE (H5OPEN H5E_CANTRESTORE_g)
  153. #define H5E_CANTCOMPUTE (H5OPEN H5E_CANTCOMPUTE_g)
  154. #define H5E_CANTEXTEND (H5OPEN H5E_CANTEXTEND_g)
  155. #define H5E_CANTATTACH (H5OPEN H5E_CANTATTACH_g)
  156. #define H5E_CANTUPDATE (H5OPEN H5E_CANTUPDATE_g)
  157. #define H5E_CANTOPERATE (H5OPEN H5E_CANTOPERATE_g)
  158. H5_DLLVAR hid_t H5E_CANTRESTORE_g; /* Can't restore condition */
  159. H5_DLLVAR hid_t H5E_CANTCOMPUTE_g; /* Can't compute value */
  160. H5_DLLVAR hid_t H5E_CANTEXTEND_g; /* Can't extend heap's space */
  161. H5_DLLVAR hid_t H5E_CANTATTACH_g; /* Can't attach object */
  162. H5_DLLVAR hid_t H5E_CANTUPDATE_g; /* Can't update object */
  163. H5_DLLVAR hid_t H5E_CANTOPERATE_g; /* Can't operate on object */
  164. /* Map related errors */
  165. #define H5E_CANTPUT (H5OPEN H5E_CANTPUT_g)
  166. H5_DLLVAR hid_t H5E_CANTPUT_g; /* Can't put value */
  167. /* Function entry/exit interface errors */
  168. #define H5E_CANTINIT (H5OPEN H5E_CANTINIT_g)
  169. #define H5E_ALREADYINIT (H5OPEN H5E_ALREADYINIT_g)
  170. #define H5E_CANTRELEASE (H5OPEN H5E_CANTRELEASE_g)
  171. H5_DLLVAR hid_t H5E_CANTINIT_g; /* Unable to initialize object */
  172. H5_DLLVAR hid_t H5E_ALREADYINIT_g; /* Object already initialized */
  173. H5_DLLVAR hid_t H5E_CANTRELEASE_g; /* Unable to release object */
  174. /* Property list errors */
  175. #define H5E_CANTGET (H5OPEN H5E_CANTGET_g)
  176. #define H5E_CANTSET (H5OPEN H5E_CANTSET_g)
  177. #define H5E_DUPCLASS (H5OPEN H5E_DUPCLASS_g)
  178. #define H5E_SETDISALLOWED (H5OPEN H5E_SETDISALLOWED_g)
  179. H5_DLLVAR hid_t H5E_CANTGET_g; /* Can't get value */
  180. H5_DLLVAR hid_t H5E_CANTSET_g; /* Can't set value */
  181. H5_DLLVAR hid_t H5E_DUPCLASS_g; /* Duplicate class name in parent class */
  182. H5_DLLVAR hid_t H5E_SETDISALLOWED_g; /* Disallowed operation */
  183. /* Asynchronous operation errors */
  184. #define H5E_CANTWAIT (H5OPEN H5E_CANTWAIT_g)
  185. #define H5E_CANTCANCEL (H5OPEN H5E_CANTCANCEL_g)
  186. H5_DLLVAR hid_t H5E_CANTWAIT_g; /* Can't wait on operation */
  187. H5_DLLVAR hid_t H5E_CANTCANCEL_g; /* Can't cancel operation */
  188. /* Free space errors */
  189. #define H5E_CANTMERGE (H5OPEN H5E_CANTMERGE_g)
  190. #define H5E_CANTREVIVE (H5OPEN H5E_CANTREVIVE_g)
  191. #define H5E_CANTSHRINK (H5OPEN H5E_CANTSHRINK_g)
  192. H5_DLLVAR hid_t H5E_CANTMERGE_g; /* Can't merge objects */
  193. H5_DLLVAR hid_t H5E_CANTREVIVE_g; /* Can't revive object */
  194. H5_DLLVAR hid_t H5E_CANTSHRINK_g; /* Can't shrink container */
  195. /* Object header related errors */
  196. #define H5E_LINKCOUNT (H5OPEN H5E_LINKCOUNT_g)
  197. #define H5E_VERSION (H5OPEN H5E_VERSION_g)
  198. #define H5E_ALIGNMENT (H5OPEN H5E_ALIGNMENT_g)
  199. #define H5E_BADMESG (H5OPEN H5E_BADMESG_g)
  200. #define H5E_CANTDELETE (H5OPEN H5E_CANTDELETE_g)
  201. #define H5E_BADITER (H5OPEN H5E_BADITER_g)
  202. #define H5E_CANTPACK (H5OPEN H5E_CANTPACK_g)
  203. #define H5E_CANTRESET (H5OPEN H5E_CANTRESET_g)
  204. #define H5E_CANTRENAME (H5OPEN H5E_CANTRENAME_g)
  205. H5_DLLVAR hid_t H5E_LINKCOUNT_g; /* Bad object header link count */
  206. H5_DLLVAR hid_t H5E_VERSION_g; /* Wrong version number */
  207. H5_DLLVAR hid_t H5E_ALIGNMENT_g; /* Alignment error */
  208. H5_DLLVAR hid_t H5E_BADMESG_g; /* Unrecognized message */
  209. H5_DLLVAR hid_t H5E_CANTDELETE_g; /* Can't delete message */
  210. H5_DLLVAR hid_t H5E_BADITER_g; /* Iteration failed */
  211. H5_DLLVAR hid_t H5E_CANTPACK_g; /* Can't pack messages */
  212. H5_DLLVAR hid_t H5E_CANTRESET_g; /* Can't reset object */
  213. H5_DLLVAR hid_t H5E_CANTRENAME_g; /* Unable to rename object */
  214. /* System level errors */
  215. #define H5E_SYSERRSTR (H5OPEN H5E_SYSERRSTR_g)
  216. H5_DLLVAR hid_t H5E_SYSERRSTR_g; /* System error message */
  217. /* I/O pipeline errors */
  218. #define H5E_NOFILTER (H5OPEN H5E_NOFILTER_g)
  219. #define H5E_CALLBACK (H5OPEN H5E_CALLBACK_g)
  220. #define H5E_CANAPPLY (H5OPEN H5E_CANAPPLY_g)
  221. #define H5E_SETLOCAL (H5OPEN H5E_SETLOCAL_g)
  222. #define H5E_NOENCODER (H5OPEN H5E_NOENCODER_g)
  223. #define H5E_CANTFILTER (H5OPEN H5E_CANTFILTER_g)
  224. H5_DLLVAR hid_t H5E_NOFILTER_g; /* Requested filter is not available */
  225. H5_DLLVAR hid_t H5E_CALLBACK_g; /* Callback failed */
  226. H5_DLLVAR hid_t H5E_CANAPPLY_g; /* Error from filter 'can apply' callback */
  227. H5_DLLVAR hid_t H5E_SETLOCAL_g; /* Error from filter 'set local' callback */
  228. H5_DLLVAR hid_t H5E_NOENCODER_g; /* Filter present but encoding disabled */
  229. H5_DLLVAR hid_t H5E_CANTFILTER_g; /* Filter operation failed */
  230. /* Group related errors */
  231. #define H5E_CANTOPENOBJ (H5OPEN H5E_CANTOPENOBJ_g)
  232. #define H5E_CANTCLOSEOBJ (H5OPEN H5E_CANTCLOSEOBJ_g)
  233. #define H5E_COMPLEN (H5OPEN H5E_COMPLEN_g)
  234. #define H5E_PATH (H5OPEN H5E_PATH_g)
  235. H5_DLLVAR hid_t H5E_CANTOPENOBJ_g; /* Can't open object */
  236. H5_DLLVAR hid_t H5E_CANTCLOSEOBJ_g; /* Can't close object */
  237. H5_DLLVAR hid_t H5E_COMPLEN_g; /* Name component is too long */
  238. H5_DLLVAR hid_t H5E_PATH_g; /* Problem with path to object */
  239. /* No error */
  240. #define H5E_NONE_MINOR (H5OPEN H5E_NONE_MINOR_g)
  241. H5_DLLVAR hid_t H5E_NONE_MINOR_g; /* No error */
  242. /* Plugin errors */
  243. #define H5E_OPENERROR (H5OPEN H5E_OPENERROR_g)
  244. H5_DLLVAR hid_t H5E_OPENERROR_g; /* Can't open directory or file */
  245. /* File accessibility errors */
  246. #define H5E_FILEEXISTS (H5OPEN H5E_FILEEXISTS_g)
  247. #define H5E_FILEOPEN (H5OPEN H5E_FILEOPEN_g)
  248. #define H5E_CANTCREATE (H5OPEN H5E_CANTCREATE_g)
  249. #define H5E_CANTOPENFILE (H5OPEN H5E_CANTOPENFILE_g)
  250. #define H5E_CANTCLOSEFILE (H5OPEN H5E_CANTCLOSEFILE_g)
  251. #define H5E_NOTHDF5 (H5OPEN H5E_NOTHDF5_g)
  252. #define H5E_BADFILE (H5OPEN H5E_BADFILE_g)
  253. #define H5E_TRUNCATED (H5OPEN H5E_TRUNCATED_g)
  254. #define H5E_MOUNT (H5OPEN H5E_MOUNT_g)
  255. #define H5E_UNMOUNT (H5OPEN H5E_UNMOUNT_g)
  256. #define H5E_CANTDELETEFILE (H5OPEN H5E_CANTDELETEFILE_g)
  257. #define H5E_CANTLOCKFILE (H5OPEN H5E_CANTLOCKFILE_g)
  258. #define H5E_CANTUNLOCKFILE (H5OPEN H5E_CANTUNLOCKFILE_g)
  259. H5_DLLVAR hid_t H5E_FILEEXISTS_g; /* File already exists */
  260. H5_DLLVAR hid_t H5E_FILEOPEN_g; /* File already open */
  261. H5_DLLVAR hid_t H5E_CANTCREATE_g; /* Unable to create file */
  262. H5_DLLVAR hid_t H5E_CANTOPENFILE_g; /* Unable to open file */
  263. H5_DLLVAR hid_t H5E_CANTCLOSEFILE_g; /* Unable to close file */
  264. H5_DLLVAR hid_t H5E_NOTHDF5_g; /* Not an HDF5 file */
  265. H5_DLLVAR hid_t H5E_BADFILE_g; /* Bad file ID accessed */
  266. H5_DLLVAR hid_t H5E_TRUNCATED_g; /* File has been truncated */
  267. H5_DLLVAR hid_t H5E_MOUNT_g; /* File mount error */
  268. H5_DLLVAR hid_t H5E_UNMOUNT_g; /* File unmount error */
  269. H5_DLLVAR hid_t H5E_CANTDELETEFILE_g; /* Unable to delete file */
  270. H5_DLLVAR hid_t H5E_CANTLOCKFILE_g; /* Unable to lock file */
  271. H5_DLLVAR hid_t H5E_CANTUNLOCKFILE_g; /* Unable to unlock file */
  272. /* Cache related errors */
  273. #define H5E_CANTFLUSH (H5OPEN H5E_CANTFLUSH_g)
  274. #define H5E_CANTUNSERIALIZE (H5OPEN H5E_CANTUNSERIALIZE_g)
  275. #define H5E_CANTSERIALIZE (H5OPEN H5E_CANTSERIALIZE_g)
  276. #define H5E_CANTTAG (H5OPEN H5E_CANTTAG_g)
  277. #define H5E_CANTLOAD (H5OPEN H5E_CANTLOAD_g)
  278. #define H5E_PROTECT (H5OPEN H5E_PROTECT_g)
  279. #define H5E_NOTCACHED (H5OPEN H5E_NOTCACHED_g)
  280. #define H5E_SYSTEM (H5OPEN H5E_SYSTEM_g)
  281. #define H5E_CANTINS (H5OPEN H5E_CANTINS_g)
  282. #define H5E_CANTPROTECT (H5OPEN H5E_CANTPROTECT_g)
  283. #define H5E_CANTUNPROTECT (H5OPEN H5E_CANTUNPROTECT_g)
  284. #define H5E_CANTPIN (H5OPEN H5E_CANTPIN_g)
  285. #define H5E_CANTUNPIN (H5OPEN H5E_CANTUNPIN_g)
  286. #define H5E_CANTMARKDIRTY (H5OPEN H5E_CANTMARKDIRTY_g)
  287. #define H5E_CANTMARKCLEAN (H5OPEN H5E_CANTMARKCLEAN_g)
  288. #define H5E_CANTMARKUNSERIALIZED (H5OPEN H5E_CANTMARKUNSERIALIZED_g)
  289. #define H5E_CANTMARKSERIALIZED (H5OPEN H5E_CANTMARKSERIALIZED_g)
  290. #define H5E_CANTDIRTY (H5OPEN H5E_CANTDIRTY_g)
  291. #define H5E_CANTCLEAN (H5OPEN H5E_CANTCLEAN_g)
  292. #define H5E_CANTEXPUNGE (H5OPEN H5E_CANTEXPUNGE_g)
  293. #define H5E_CANTRESIZE (H5OPEN H5E_CANTRESIZE_g)
  294. #define H5E_CANTDEPEND (H5OPEN H5E_CANTDEPEND_g)
  295. #define H5E_CANTUNDEPEND (H5OPEN H5E_CANTUNDEPEND_g)
  296. #define H5E_CANTNOTIFY (H5OPEN H5E_CANTNOTIFY_g)
  297. #define H5E_LOGGING (H5OPEN H5E_LOGGING_g)
  298. #define H5E_CANTCORK (H5OPEN H5E_CANTCORK_g)
  299. #define H5E_CANTUNCORK (H5OPEN H5E_CANTUNCORK_g)
  300. H5_DLLVAR hid_t H5E_CANTFLUSH_g; /* Unable to flush data from cache */
  301. H5_DLLVAR hid_t H5E_CANTUNSERIALIZE_g; /* Unable to mark metadata as unserialized */
  302. H5_DLLVAR hid_t H5E_CANTSERIALIZE_g; /* Unable to serialize data from cache */
  303. H5_DLLVAR hid_t H5E_CANTTAG_g; /* Unable to tag metadata in the cache */
  304. H5_DLLVAR hid_t H5E_CANTLOAD_g; /* Unable to load metadata into cache */
  305. H5_DLLVAR hid_t H5E_PROTECT_g; /* Protected metadata error */
  306. H5_DLLVAR hid_t H5E_NOTCACHED_g; /* Metadata not currently cached */
  307. H5_DLLVAR hid_t H5E_SYSTEM_g; /* Internal error detected */
  308. H5_DLLVAR hid_t H5E_CANTINS_g; /* Unable to insert metadata into cache */
  309. H5_DLLVAR hid_t H5E_CANTPROTECT_g; /* Unable to protect metadata */
  310. H5_DLLVAR hid_t H5E_CANTUNPROTECT_g; /* Unable to unprotect metadata */
  311. H5_DLLVAR hid_t H5E_CANTPIN_g; /* Unable to pin cache entry */
  312. H5_DLLVAR hid_t H5E_CANTUNPIN_g; /* Unable to un-pin cache entry */
  313. H5_DLLVAR hid_t H5E_CANTMARKDIRTY_g; /* Unable to mark a pinned entry as dirty */
  314. H5_DLLVAR hid_t H5E_CANTMARKCLEAN_g; /* Unable to mark a pinned entry as clean */
  315. H5_DLLVAR hid_t H5E_CANTMARKUNSERIALIZED_g; /* Unable to mark an entry as unserialized */
  316. H5_DLLVAR hid_t H5E_CANTMARKSERIALIZED_g; /* Unable to mark an entry as serialized */
  317. H5_DLLVAR hid_t H5E_CANTDIRTY_g; /* Unable to mark metadata as dirty */
  318. H5_DLLVAR hid_t H5E_CANTCLEAN_g; /* Unable to mark metadata as clean */
  319. H5_DLLVAR hid_t H5E_CANTEXPUNGE_g; /* Unable to expunge a metadata cache entry */
  320. H5_DLLVAR hid_t H5E_CANTRESIZE_g; /* Unable to resize a metadata cache entry */
  321. H5_DLLVAR hid_t H5E_CANTDEPEND_g; /* Unable to create a flush dependency */
  322. H5_DLLVAR hid_t H5E_CANTUNDEPEND_g; /* Unable to destroy a flush dependency */
  323. H5_DLLVAR hid_t H5E_CANTNOTIFY_g; /* Unable to notify object about action */
  324. H5_DLLVAR hid_t H5E_LOGGING_g; /* Failure in the cache logging framework */
  325. H5_DLLVAR hid_t H5E_CANTCORK_g; /* Unable to cork an object */
  326. H5_DLLVAR hid_t H5E_CANTUNCORK_g; /* Unable to uncork an object */
  327. /* Link related errors */
  328. #define H5E_TRAVERSE (H5OPEN H5E_TRAVERSE_g)
  329. #define H5E_NLINKS (H5OPEN H5E_NLINKS_g)
  330. #define H5E_NOTREGISTERED (H5OPEN H5E_NOTREGISTERED_g)
  331. #define H5E_CANTMOVE (H5OPEN H5E_CANTMOVE_g)
  332. #define H5E_CANTSORT (H5OPEN H5E_CANTSORT_g)
  333. H5_DLLVAR hid_t H5E_TRAVERSE_g; /* Link traversal failure */
  334. H5_DLLVAR hid_t H5E_NLINKS_g; /* Too many soft links in path */
  335. H5_DLLVAR hid_t H5E_NOTREGISTERED_g; /* Link class not registered */
  336. H5_DLLVAR hid_t H5E_CANTMOVE_g; /* Can't move object */
  337. H5_DLLVAR hid_t H5E_CANTSORT_g; /* Can't sort objects */
  338. /* Parallel MPI errors */
  339. #define H5E_MPI (H5OPEN H5E_MPI_g)
  340. #define H5E_MPIERRSTR (H5OPEN H5E_MPIERRSTR_g)
  341. #define H5E_CANTRECV (H5OPEN H5E_CANTRECV_g)
  342. #define H5E_CANTGATHER (H5OPEN H5E_CANTGATHER_g)
  343. #define H5E_NO_INDEPENDENT (H5OPEN H5E_NO_INDEPENDENT_g)
  344. H5_DLLVAR hid_t H5E_MPI_g; /* Some MPI function failed */
  345. H5_DLLVAR hid_t H5E_MPIERRSTR_g; /* MPI Error String */
  346. H5_DLLVAR hid_t H5E_CANTRECV_g; /* Can't receive data */
  347. H5_DLLVAR hid_t H5E_CANTGATHER_g; /* Can't gather data */
  348. H5_DLLVAR hid_t H5E_NO_INDEPENDENT_g; /* Can't perform independent IO */
  349. /* Dataspace errors */
  350. #define H5E_CANTCLIP (H5OPEN H5E_CANTCLIP_g)
  351. #define H5E_CANTCOUNT (H5OPEN H5E_CANTCOUNT_g)
  352. #define H5E_CANTSELECT (H5OPEN H5E_CANTSELECT_g)
  353. #define H5E_CANTNEXT (H5OPEN H5E_CANTNEXT_g)
  354. #define H5E_BADSELECT (H5OPEN H5E_BADSELECT_g)
  355. #define H5E_CANTCOMPARE (H5OPEN H5E_CANTCOMPARE_g)
  356. #define H5E_INCONSISTENTSTATE (H5OPEN H5E_INCONSISTENTSTATE_g)
  357. #define H5E_CANTAPPEND (H5OPEN H5E_CANTAPPEND_g)
  358. H5_DLLVAR hid_t H5E_CANTCLIP_g; /* Can't clip hyperslab region */
  359. H5_DLLVAR hid_t H5E_CANTCOUNT_g; /* Can't count elements */
  360. H5_DLLVAR hid_t H5E_CANTSELECT_g; /* Can't select hyperslab */
  361. H5_DLLVAR hid_t H5E_CANTNEXT_g; /* Can't move to next iterator location */
  362. H5_DLLVAR hid_t H5E_BADSELECT_g; /* Invalid selection */
  363. H5_DLLVAR hid_t H5E_CANTCOMPARE_g; /* Can't compare objects */
  364. H5_DLLVAR hid_t H5E_INCONSISTENTSTATE_g; /* Internal states are inconsistent */
  365. H5_DLLVAR hid_t H5E_CANTAPPEND_g; /* Can't append object */
  366. /* Argument errors */
  367. #define H5E_UNINITIALIZED (H5OPEN H5E_UNINITIALIZED_g)
  368. #define H5E_UNSUPPORTED (H5OPEN H5E_UNSUPPORTED_g)
  369. #define H5E_BADTYPE (H5OPEN H5E_BADTYPE_g)
  370. #define H5E_BADRANGE (H5OPEN H5E_BADRANGE_g)
  371. #define H5E_BADVALUE (H5OPEN H5E_BADVALUE_g)
  372. H5_DLLVAR hid_t H5E_UNINITIALIZED_g; /* Information is uinitialized */
  373. H5_DLLVAR hid_t H5E_UNSUPPORTED_g; /* Feature is unsupported */
  374. H5_DLLVAR hid_t H5E_BADTYPE_g; /* Inappropriate type */
  375. H5_DLLVAR hid_t H5E_BADRANGE_g; /* Out of range */
  376. H5_DLLVAR hid_t H5E_BADVALUE_g; /* Bad value */
  377. /* B-tree related errors */
  378. #define H5E_NOTFOUND (H5OPEN H5E_NOTFOUND_g)
  379. #define H5E_EXISTS (H5OPEN H5E_EXISTS_g)
  380. #define H5E_CANTENCODE (H5OPEN H5E_CANTENCODE_g)
  381. #define H5E_CANTDECODE (H5OPEN H5E_CANTDECODE_g)
  382. #define H5E_CANTSPLIT (H5OPEN H5E_CANTSPLIT_g)
  383. #define H5E_CANTREDISTRIBUTE (H5OPEN H5E_CANTREDISTRIBUTE_g)
  384. #define H5E_CANTSWAP (H5OPEN H5E_CANTSWAP_g)
  385. #define H5E_CANTINSERT (H5OPEN H5E_CANTINSERT_g)
  386. #define H5E_CANTLIST (H5OPEN H5E_CANTLIST_g)
  387. #define H5E_CANTMODIFY (H5OPEN H5E_CANTMODIFY_g)
  388. #define H5E_CANTREMOVE (H5OPEN H5E_CANTREMOVE_g)
  389. #define H5E_CANTFIND (H5OPEN H5E_CANTFIND_g)
  390. H5_DLLVAR hid_t H5E_NOTFOUND_g; /* Object not found */
  391. H5_DLLVAR hid_t H5E_EXISTS_g; /* Object already exists */
  392. H5_DLLVAR hid_t H5E_CANTENCODE_g; /* Unable to encode value */
  393. H5_DLLVAR hid_t H5E_CANTDECODE_g; /* Unable to decode value */
  394. H5_DLLVAR hid_t H5E_CANTSPLIT_g; /* Unable to split node */
  395. H5_DLLVAR hid_t H5E_CANTREDISTRIBUTE_g; /* Unable to redistribute records */
  396. H5_DLLVAR hid_t H5E_CANTSWAP_g; /* Unable to swap records */
  397. H5_DLLVAR hid_t H5E_CANTINSERT_g; /* Unable to insert object */
  398. H5_DLLVAR hid_t H5E_CANTLIST_g; /* Unable to list node */
  399. H5_DLLVAR hid_t H5E_CANTMODIFY_g; /* Unable to modify record */
  400. H5_DLLVAR hid_t H5E_CANTREMOVE_g; /* Unable to remove object */
  401. H5_DLLVAR hid_t H5E_CANTFIND_g; /* Unable to check for record */
  402. /* Datatype conversion errors */
  403. #define H5E_CANTCONVERT (H5OPEN H5E_CANTCONVERT_g)
  404. #define H5E_BADSIZE (H5OPEN H5E_BADSIZE_g)
  405. H5_DLLVAR hid_t H5E_CANTCONVERT_g; /* Can't convert datatypes */
  406. H5_DLLVAR hid_t H5E_BADSIZE_g; /* Bad size for object */
  407. #ifdef __cplusplus
  408. }
  409. #endif
  410. #endif /* H5Epubgen_H */