Primary change is HDFFV-11212 - new refs and JNI (#372)

* OESS-98 convert plugin option to FetchContent, add tests

* Fixes for pkcfg files because of plugin option

* OESS-98 fix tools test for plugins

* Keep doxygen comments under 100 chars long - format hint

* Whitespace

* HDFFV-11144 - Reclassify CMake messages

* HDFFV-11099/11100 added help text

* Reworked switch statement to compare string instead

* Fix typo

* Update CDash mode

* Correct name of threadsafe

* Correct option name

* Undo accidental commit

* Note LLVM 10 to 11 format default changes

* Update format plugin

* Undo clang-format version 11 changes

* One more correction

* Update supported platforms

* Revert whitespace changes

* Correct whitespace

* Changes from PR#3

* HDFFV-11213 added option to control gcc10 warnings diagnostics

* HDFFV-11212 Use the new references correctly in JNI utility and tests

* format source

* Fix typo

* Add new test file

* HDFFV-11212 - update test and remove unused arg

* Minor non-space formatting changes

* Use H5I_INVALID_ID instead of "-1"

* source formatting

* add missing testfile, update jni function

* Undo commit of debug code

* remove mislocated file

* Fix h5repack test for handling of fapls and id close

* Update h5diff test files usage text

* HDFFV-11212 add new ref tests for JNI export dataset

* src format update

* Remove blank line typo

* src format typo

* long double requires %Lg

* Another long double foramt specifer S.B. %Lg

* issue with t128bit test

* Windows issue with h5dump and type.

* Fix review issues

* refactor function nesting and fix error checks

* format fixes

* Remove untested functions and javadoc quiet comments

* Restore TRY block.

* Change string append errors to memory exception

* revert to H5_JNI_FATAL_ERROR - support functions need work

* Add assertion error for h5util functions

* remove duplicate function

* format fix

* Revert HD function error handling

* Update copyright comments
This commit is contained in:
Allen Byrne
2021-02-25 15:12:57 -06:00
committed by GitHub
parent c29e1b9fdf
commit c7ffe683e5
123 changed files with 2671 additions and 1300 deletions

View File

@@ -47,54 +47,103 @@ public class HDF5Constants {
public static final int H5_SZIP_ALLOW_K13_OPTION_MASK = H5_SZIP_ALLOW_K13_OPTION_MASK();
/** Special parameters for szip compression */
public static final int H5_SZIP_CHIP_OPTION_MASK = H5_SZIP_CHIP_OPTION_MASK();
/** indices on links, unknown index type */
public static final int H5_INDEX_UNKNOWN = H5_INDEX_UNKNOWN();
/** indices on links, index on names */
public static final int H5_INDEX_NAME = H5_INDEX_NAME();
/** indices on links, index on creation order */
public static final int H5_INDEX_CRT_ORDER = H5_INDEX_CRT_ORDER();
/** indices on links, number of indices defined */
public static final int H5_INDEX_N = H5_INDEX_N();
/** */
public static final int H5_ITER_UNKNOWN = H5_ITER_UNKNOWN();
/** */
public static final int H5_ITER_INC = H5_ITER_INC();
/** */
public static final int H5_ITER_DEC = H5_ITER_DEC();
/** */
public static final int H5_ITER_NATIVE = H5_ITER_NATIVE();
/** */
public static final int H5_ITER_N = H5_ITER_N();
/** */
public static final int H5AC_CURR_CACHE_CONFIG_VERSION = H5AC_CURR_CACHE_CONFIG_VERSION();
/** */
public static final int H5AC_MAX_TRACE_FILE_NAME_LEN = H5AC_MAX_TRACE_FILE_NAME_LEN();
/** */
public static final int H5AC_METADATA_WRITE_STRATEGY_PROCESS_ZERO_ONLY = H5AC_METADATA_WRITE_STRATEGY_PROCESS_ZERO_ONLY();
/** */
public static final int H5AC_METADATA_WRITE_STRATEGY_DISTRIBUTED = H5AC_METADATA_WRITE_STRATEGY_DISTRIBUTED();
/** */
public static final int H5C_incr_off = H5C_incr_off();
/** */
public static final int H5C_incr_threshold = H5C_incr_threshold();
/** */
public static final int H5C_flash_incr_off = H5C_flash_incr_off();
/** */
public static final int H5C_flash_incr_add_space = H5C_flash_incr_add_space();
/** */
public static final int H5C_decr_off = H5C_decr_off();
/** */
public static final int H5C_decr_threshold = H5C_decr_threshold();
/** */
public static final int H5C_decr_age_out = H5C_decr_age_out();
/** */
public static final int H5C_decr_age_out_with_threshold = H5C_decr_age_out_with_threshold();
/** */
public static final int H5D_CHUNK_IDX_BTREE = H5D_CHUNK_IDX_BTREE();
/** */
public static final int H5D_ALLOC_TIME_DEFAULT = H5D_ALLOC_TIME_DEFAULT();
/** */
public static final int H5D_ALLOC_TIME_EARLY = H5D_ALLOC_TIME_EARLY();
/** */
public static final int H5D_ALLOC_TIME_ERROR = H5D_ALLOC_TIME_ERROR();
/** */
public static final int H5D_ALLOC_TIME_INCR = H5D_ALLOC_TIME_INCR();
/** */
public static final int H5D_ALLOC_TIME_LATE = H5D_ALLOC_TIME_LATE();
/** */
public static final int H5D_FILL_TIME_ERROR = H5D_FILL_TIME_ERROR();
/** */
public static final int H5D_FILL_TIME_ALLOC = H5D_FILL_TIME_ALLOC();
/** */
public static final int H5D_FILL_TIME_NEVER = H5D_FILL_TIME_NEVER();
/** */
public static final int H5D_FILL_TIME_IFSET = H5D_FILL_TIME_IFSET();
/** */
public static final int H5D_FILL_VALUE_DEFAULT = H5D_FILL_VALUE_DEFAULT();
/** */
public static final int H5D_FILL_VALUE_ERROR = H5D_FILL_VALUE_ERROR();
/** */
public static final int H5D_FILL_VALUE_UNDEFINED = H5D_FILL_VALUE_UNDEFINED();
/** */
public static final int H5D_FILL_VALUE_USER_DEFINED = H5D_FILL_VALUE_USER_DEFINED();
/** */
public static final int H5D_LAYOUT_ERROR = H5D_LAYOUT_ERROR();
/** */
public static final int H5D_CHUNKED = H5D_CHUNKED();
/** */
public static final int H5D_COMPACT = H5D_COMPACT();
/** */
public static final int H5D_CONTIGUOUS = H5D_CONTIGUOUS();
/** */
public static final int H5D_VIRTUAL = H5D_VIRTUAL();
/** */
public static final int H5D_NLAYOUTS = H5D_NLAYOUTS();
/** */
public static final int H5D_SPACE_STATUS_ALLOCATED = H5D_SPACE_STATUS_ALLOCATED();
/** */
public static final int H5D_SPACE_STATUS_ERROR = H5D_SPACE_STATUS_ERROR();
/** */
public static final int H5D_SPACE_STATUS_NOT_ALLOCATED = H5D_SPACE_STATUS_NOT_ALLOCATED();
/** */
public static final int H5D_SPACE_STATUS_PART_ALLOCATED = H5D_SPACE_STATUS_PART_ALLOCATED();
/** */
public static final int H5D_VDS_ERROR = H5D_VDS_ERROR();
/** */
public static final int H5D_VDS_FIRST_MISSING = H5D_VDS_FIRST_MISSING();
/** */
public static final int H5D_VDS_LAST_AVAILABLE = H5D_VDS_LAST_AVAILABLE();
/** */
public static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS();
/** Different kinds of error information - H5E_type_t */
@@ -452,96 +501,184 @@ public class HDF5Constants {
/** Generic low-level file I/O errors - Write failed */
public static final long H5E_WRITEERROR = H5E_WRITEERROR();
/** */
private static final int H5ES_STATUS_IN_PROGRESS = H5ES_STATUS_IN_PROGRESS();
/** */
private static final int H5ES_STATUS_SUCCEED = H5ES_STATUS_SUCCEED();
/** */
private static final int H5ES_STATUS_FAIL = H5ES_STATUS_FAIL();
/** */
public static final int H5F_ACC_CREAT = H5F_ACC_CREAT();
/** */
public static final int H5F_ACC_EXCL = H5F_ACC_EXCL();
/** */
public static final int H5F_ACC_RDONLY = H5F_ACC_RDONLY();
/** */
public static final int H5F_ACC_RDWR = H5F_ACC_RDWR();
/** */
public static final int H5F_ACC_TRUNC = H5F_ACC_TRUNC();
/** */
public static final int H5F_ACC_DEFAULT = H5F_ACC_DEFAULT();
/** */
public static final int H5F_ACC_SWMR_READ = H5F_ACC_SWMR_READ();
/** */
public static final int H5F_ACC_SWMR_WRITE = H5F_ACC_SWMR_WRITE();
/** */
public static final int H5F_CLOSE_DEFAULT = H5F_CLOSE_DEFAULT();
/** */
public static final int H5F_CLOSE_SEMI = H5F_CLOSE_SEMI();
/** */
public static final int H5F_CLOSE_STRONG = H5F_CLOSE_STRONG();
/** */
public static final int H5F_CLOSE_WEAK = H5F_CLOSE_WEAK();
/** */
public static final int H5F_LIBVER_ERROR = H5F_LIBVER_ERROR();
/** */
public static final int H5F_LIBVER_EARLIEST = H5F_LIBVER_EARLIEST();
/** */
public static final int H5F_LIBVER_V18 = H5F_LIBVER_V18();
/** */
public static final int H5F_LIBVER_V110 = H5F_LIBVER_V110();
/** */
public static final int H5F_LIBVER_V112 = H5F_LIBVER_V112();
/** */
public static final int H5F_LIBVER_V114 = H5F_LIBVER_V114();
/** */
public static final int H5F_LIBVER_NBOUNDS = H5F_LIBVER_NBOUNDS();
/** */
public static final int H5F_LIBVER_LATEST = H5F_LIBVER_LATEST();
/** */
public static final int H5F_OBJ_ALL = H5F_OBJ_ALL();
/** */
public static final int H5F_OBJ_ATTR = H5F_OBJ_ATTR();
/** */
public static final int H5F_OBJ_DATASET = H5F_OBJ_DATASET();
/** */
public static final int H5F_OBJ_DATATYPE = H5F_OBJ_DATATYPE();
/** */
public static final int H5F_OBJ_FILE = H5F_OBJ_FILE();
/** */
public static final int H5F_OBJ_GROUP = H5F_OBJ_GROUP();
/** */
public static final int H5F_OBJ_LOCAL = H5F_OBJ_LOCAL();
/** */
public static final int H5F_SCOPE_GLOBAL = H5F_SCOPE_GLOBAL();
/** */
public static final int H5F_SCOPE_LOCAL = H5F_SCOPE_LOCAL();
/** */
public static final int H5F_UNLIMITED = H5F_UNLIMITED();
/** */
public static final int H5F_FSPACE_STRATEGY_FSM_AGGR = H5F_FSPACE_STRATEGY_FSM_AGGR();
/** */
public static final int H5F_FSPACE_STRATEGY_AGGR = H5F_FSPACE_STRATEGY_AGGR();
/** */
public static final int H5F_FSPACE_STRATEGY_PAGE = H5F_FSPACE_STRATEGY_PAGE();
/** */
public static final int H5F_FSPACE_STRATEGY_NONE = H5F_FSPACE_STRATEGY_NONE();
/** */
public static final int H5F_FSPACE_STRATEGY_NTYPES = H5F_FSPACE_STRATEGY_NTYPES();
/** */
public static final long H5FD_CORE = H5FD_CORE();
/** */
public static final long H5FD_DIRECT = H5FD_DIRECT();
/** */
public static final long H5FD_FAMILY = H5FD_FAMILY();
/** */
public static final long H5FD_LOG = H5FD_LOG();
/** */
public static final long H5FD_MPIO = H5FD_MPIO();
/** */
public static final long H5FD_MULTI = H5FD_MULTI();
/** */
public static final long H5FD_SEC2 = H5FD_SEC2();
/** */
public static final long H5FD_STDIO = H5FD_STDIO();
/** */
public static final long H5FD_WINDOWS = H5FD_WINDOWS();
/** */
public static final long H5FD_ROS3 = H5FD_ROS3();
/** */
public static final long H5FD_HDFS = H5FD_HDFS();
/** */
public static final int H5FD_LOG_LOC_READ = H5FD_LOG_LOC_READ();
/** */
public static final int H5FD_LOG_LOC_WRITE = H5FD_LOG_LOC_WRITE();
/** */
public static final int H5FD_LOG_LOC_SEEK = H5FD_LOG_LOC_SEEK();
/** */
public static final int H5FD_LOG_LOC_IO = H5FD_LOG_LOC_IO();
/** */
public static final int H5FD_LOG_FILE_READ = H5FD_LOG_FILE_READ();
/** */
public static final int H5FD_LOG_FILE_WRITE = H5FD_LOG_FILE_WRITE();
/** */
public static final int H5FD_LOG_FILE_IO = H5FD_LOG_FILE_IO();
/** */
public static final int H5FD_LOG_FLAVOR = H5FD_LOG_FLAVOR();
/** */
public static final int H5FD_LOG_NUM_READ = H5FD_LOG_NUM_READ();
/** */
public static final int H5FD_LOG_NUM_WRITE = H5FD_LOG_NUM_WRITE();
/** */
public static final int H5FD_LOG_NUM_SEEK = H5FD_LOG_NUM_SEEK();
/** */
public static final int H5FD_LOG_NUM_TRUNCATE = H5FD_LOG_NUM_TRUNCATE();
/** */
public static final int H5FD_LOG_NUM_IO = H5FD_LOG_NUM_IO();
/** */
public static final int H5FD_LOG_TIME_OPEN = H5FD_LOG_TIME_OPEN();
/** */
public static final int H5FD_LOG_TIME_STAT = H5FD_LOG_TIME_STAT();
/** */
public static final int H5FD_LOG_TIME_READ = H5FD_LOG_TIME_READ();
/** */
public static final int H5FD_LOG_TIME_WRITE = H5FD_LOG_TIME_WRITE();
/** */
public static final int H5FD_LOG_TIME_SEEK = H5FD_LOG_TIME_SEEK();
/** */
public static final int H5FD_LOG_TIME_CLOSE = H5FD_LOG_TIME_CLOSE();
/** */
public static final int H5FD_LOG_TIME_IO = H5FD_LOG_TIME_IO();
/** */
public static final int H5FD_LOG_ALLOC = H5FD_LOG_ALLOC();
/** */
public static final int H5FD_LOG_ALL = H5FD_LOG_ALL();
/** */
public static final int H5FD_MEM_NOLIST = H5FD_MEM_NOLIST();
/** */
public static final int H5FD_MEM_DEFAULT = H5FD_MEM_DEFAULT();
/** */
public static final int H5FD_MEM_SUPER = H5FD_MEM_SUPER();
/** */
public static final int H5FD_MEM_BTREE = H5FD_MEM_BTREE();
/** */
public static final int H5FD_MEM_DRAW = H5FD_MEM_DRAW();
/** */
public static final int H5FD_MEM_GHEAP = H5FD_MEM_GHEAP();
/** */
public static final int H5FD_MEM_LHEAP = H5FD_MEM_LHEAP();
/** */
public static final int H5FD_MEM_OHDR = H5FD_MEM_OHDR();
/** */
public static final int H5FD_MEM_NTYPES = H5FD_MEM_NTYPES();
/** */
public static final long H5FD_DEFAULT_HADDR_SIZE = H5FD_DEFAULT_HADDR_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_SIZE = H5FD_MEM_DEFAULT_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_SUPER_SIZE = H5FD_MEM_DEFAULT_SUPER_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_BTREE_SIZE = H5FD_MEM_DEFAULT_BTREE_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_DRAW_SIZE = H5FD_MEM_DEFAULT_DRAW_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_GHEAP_SIZE = H5FD_MEM_DEFAULT_GHEAP_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_LHEAP_SIZE = H5FD_MEM_DEFAULT_LHEAP_SIZE();
/** */
public static final long H5FD_MEM_DEFAULT_OHDR_SIZE = H5FD_MEM_DEFAULT_OHDR_SIZE();
// public static final int H5G_DATASET = H5G_DATASET();
@@ -561,120 +698,229 @@ public class HDF5Constants {
// public static final int H5G_TYPE = H5G_TYPE();
// public static final int H5G_UNKNOWN = H5G_UNKNOWN();
/** */
public static final int H5G_STORAGE_TYPE_UNKNOWN = H5G_STORAGE_TYPE_UNKNOWN();
/** */
public static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = H5G_STORAGE_TYPE_SYMBOL_TABLE();
/** */
public static final int H5G_STORAGE_TYPE_COMPACT = H5G_STORAGE_TYPE_COMPACT();
/** */
public static final int H5G_STORAGE_TYPE_DENSE = H5G_STORAGE_TYPE_DENSE();
/** */
public static final int H5I_ATTR = H5I_ATTR();
/** */
public static final int H5I_BADID = H5I_BADID();
/** */
public static final int H5I_DATASET = H5I_DATASET();
/** */
public static final int H5I_DATASPACE = H5I_DATASPACE();
/** */
public static final int H5I_DATATYPE = H5I_DATATYPE();
/** */
public static final int H5I_ERROR_CLASS = H5I_ERROR_CLASS();
/** */
public static final int H5I_ERROR_MSG = H5I_ERROR_MSG();
/** */
public static final int H5I_ERROR_STACK = H5I_ERROR_STACK();
/** */
public static final int H5I_FILE = H5I_FILE();
/** */
public static final int H5I_GENPROP_CLS = H5I_GENPROP_CLS();
/** */
public static final int H5I_GENPROP_LST = H5I_GENPROP_LST();
/** */
public static final int H5I_GROUP = H5I_GROUP();
/** */
public static final int H5I_INVALID_HID = H5I_INVALID_HID();
/** */
public static final int H5I_NTYPES = H5I_NTYPES();
/** */
public static final int H5I_UNINIT = H5I_UNINIT();
/** */
public static final int H5I_VFL = H5I_VFL();
/** */
public static final int H5I_VOL = H5I_VOL();
/** */
public static final int H5L_TYPE_ERROR = H5L_TYPE_ERROR();
/** */
public static final int H5L_TYPE_HARD = H5L_TYPE_HARD();
/** */
public static final int H5L_TYPE_SOFT = H5L_TYPE_SOFT();
/** */
public static final int H5L_TYPE_EXTERNAL = H5L_TYPE_EXTERNAL();
/** */
public static final int H5L_TYPE_MAX = H5L_TYPE_MAX();
/** */
public static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = H5O_COPY_SHALLOW_HIERARCHY_FLAG();
/** */
public static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = H5O_COPY_EXPAND_SOFT_LINK_FLAG();
/** */
public static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = H5O_COPY_EXPAND_EXT_LINK_FLAG();
/** */
public static final int H5O_COPY_EXPAND_REFERENCE_FLAG = H5O_COPY_EXPAND_REFERENCE_FLAG();
/** */
public static final int H5O_COPY_WITHOUT_ATTR_FLAG = H5O_COPY_WITHOUT_ATTR_FLAG();
/** */
public static final int H5O_COPY_PRESERVE_NULL_FLAG = H5O_COPY_PRESERVE_NULL_FLAG();
/** */
public static final int H5O_INFO_BASIC = H5O_INFO_BASIC();
/** */
public static final int H5O_INFO_TIME = H5O_INFO_TIME();
/** */
public static final int H5O_INFO_NUM_ATTRS = H5O_INFO_NUM_ATTRS();
/** */
public static final int H5O_INFO_ALL = H5O_INFO_ALL();
/** */
public static final int H5O_NATIVE_INFO_HDR = H5O_NATIVE_INFO_HDR();
/** */
public static final int H5O_NATIVE_INFO_META_SIZE = H5O_NATIVE_INFO_META_SIZE();
/** */
public static final int H5O_NATIVE_INFO_ALL = H5O_NATIVE_INFO_ALL();
/** */
public static final int H5O_SHMESG_NONE_FLAG = H5O_SHMESG_NONE_FLAG();
/** */
public static final int H5O_SHMESG_SDSPACE_FLAG = H5O_SHMESG_SDSPACE_FLAG();
/** */
public static final int H5O_SHMESG_DTYPE_FLAG = H5O_SHMESG_DTYPE_FLAG();
/** */
public static final int H5O_SHMESG_FILL_FLAG = H5O_SHMESG_FILL_FLAG();
/** */
public static final int H5O_SHMESG_PLINE_FLAG = H5O_SHMESG_PLINE_FLAG();
/** */
public static final int H5O_SHMESG_ATTR_FLAG = H5O_SHMESG_ATTR_FLAG();
/** */
public static final int H5O_SHMESG_ALL_FLAG = H5O_SHMESG_ALL_FLAG();
/** */
public static final int H5O_TYPE_UNKNOWN = H5O_TYPE_UNKNOWN();
/** */
public static final int H5O_TYPE_GROUP = H5O_TYPE_GROUP();
/** */
public static final int H5O_TYPE_DATASET = H5O_TYPE_DATASET();
/** */
public static final int H5O_TYPE_NAMED_DATATYPE = H5O_TYPE_NAMED_DATATYPE();
/** */
public static final int H5O_TYPE_NTYPES = H5O_TYPE_NTYPES();
/** */
public static final int H5O_MAX_TOKEN_SIZE = H5O_MAX_TOKEN_SIZE();
/** */
public static final H5O_token_t H5O_TOKEN_UNDEF = H5O_TOKEN_UNDEF();
/** */
public static final long H5P_ROOT = H5P_ROOT();
/** */
public static final long H5P_OBJECT_CREATE = H5P_OBJECT_CREATE();
/** */
public static final long H5P_FILE_CREATE = H5P_FILE_CREATE();
/** */
public static final long H5P_FILE_ACCESS = H5P_FILE_ACCESS();
/** */
public static final long H5P_DATASET_CREATE = H5P_DATASET_CREATE();
/** */
public static final long H5P_DATASET_ACCESS = H5P_DATASET_ACCESS();
/** */
public static final long H5P_DATASET_XFER = H5P_DATASET_XFER();
/** */
public static final long H5P_FILE_MOUNT = H5P_FILE_MOUNT();
/** */
public static final long H5P_GROUP_CREATE = H5P_GROUP_CREATE();
/** */
public static final long H5P_GROUP_ACCESS = H5P_GROUP_ACCESS();
/** */
public static final long H5P_DATATYPE_CREATE = H5P_DATATYPE_CREATE();
/** */
public static final long H5P_DATATYPE_ACCESS = H5P_DATATYPE_ACCESS();
/** */
public static final long H5P_STRING_CREATE = H5P_STRING_CREATE();
/** */
public static final long H5P_ATTRIBUTE_CREATE = H5P_ATTRIBUTE_CREATE();
/** */
public static final long H5P_ATTRIBUTE_ACCESS = H5P_ATTRIBUTE_ACCESS();
/** */
public static final long H5P_OBJECT_COPY = H5P_OBJECT_COPY();
/** */
public static final long H5P_LINK_CREATE = H5P_LINK_CREATE();
/** */
public static final long H5P_LINK_ACCESS = H5P_LINK_ACCESS();
/** */
public static final long H5P_VOL_INITIALIZE = H5P_VOL_INITIALIZE();
/** */
public static final long H5P_FILE_CREATE_DEFAULT = H5P_FILE_CREATE_DEFAULT();
/** */
public static final long H5P_FILE_ACCESS_DEFAULT = H5P_FILE_ACCESS_DEFAULT();
/** */
public static final long H5P_DATASET_CREATE_DEFAULT = H5P_DATASET_CREATE_DEFAULT();
/** */
public static final long H5P_DATASET_ACCESS_DEFAULT = H5P_DATASET_ACCESS_DEFAULT();
/** */
public static final long H5P_DATASET_XFER_DEFAULT = H5P_DATASET_XFER_DEFAULT();
/** */
public static final long H5P_FILE_MOUNT_DEFAULT = H5P_FILE_MOUNT_DEFAULT();
/** */
public static final long H5P_GROUP_CREATE_DEFAULT = H5P_GROUP_CREATE_DEFAULT();
/** */
public static final long H5P_GROUP_ACCESS_DEFAULT = H5P_GROUP_ACCESS_DEFAULT();
/** */
public static final long H5P_DATATYPE_CREATE_DEFAULT = H5P_DATATYPE_CREATE_DEFAULT();
/** */
public static final long H5P_DATATYPE_ACCESS_DEFAULT = H5P_DATATYPE_ACCESS_DEFAULT();
/** */
public static final long H5P_ATTRIBUTE_CREATE_DEFAULT = H5P_ATTRIBUTE_CREATE_DEFAULT();
/** */
public static final long H5P_ATTRIBUTE_ACCESS_DEFAULT = H5P_ATTRIBUTE_ACCESS_DEFAULT();
/** */
public static final long H5P_OBJECT_COPY_DEFAULT = H5P_OBJECT_COPY_DEFAULT();
/** */
public static final long H5P_LINK_CREATE_DEFAULT = H5P_LINK_CREATE_DEFAULT();
/** */
public static final long H5P_LINK_ACCESS_DEFAULT = H5P_LINK_ACCESS_DEFAULT();
/** */
public static final long H5P_VOL_INITIALIZE_DEFAULT = H5P_VOL_INITIALIZE_DEFAULT();
/** */
public static final int H5P_CRT_ORDER_TRACKED = H5P_CRT_ORDER_TRACKED();
/** */
public static final int H5P_CRT_ORDER_INDEXED = H5P_CRT_ORDER_INDEXED();
/** */
public static final long H5P_DEFAULT = H5P_DEFAULT();
/** */
public static final int H5PL_TYPE_ERROR = H5PL_TYPE_ERROR();
/** */
public static final int H5PL_TYPE_FILTER = H5PL_TYPE_FILTER();
/** */
public static final int H5PL_TYPE_VOL = H5PL_TYPE_VOL();
/** */
public static final int H5PL_TYPE_NONE = H5PL_TYPE_NONE();
/** */
public static final int H5PL_FILTER_PLUGIN = H5PL_FILTER_PLUGIN();
/** */
public static final int H5PL_VOL_PLUGIN = H5PL_VOL_PLUGIN();
/** */
public static final int H5PL_ALL_PLUGIN = H5PL_ALL_PLUGIN();
/** */
public static final int H5R_ATTR = H5R_ATTR();
/** */
public static final int H5R_BADTYPE = H5R_BADTYPE();
/** */
public static final int H5R_DATASET_REGION = H5R_DATASET_REGION();
/** */
public static final int H5R_DATASET_REGION1 = H5R_DATASET_REGION1();
/** */
public static final int H5R_DATASET_REGION2 = H5R_DATASET_REGION2();
/** */
public static final int H5R_MAXTYPE = H5R_MAXTYPE();
/** */
public static final int H5R_REF_BUF_SIZE = H5R_REF_BUF_SIZE();
/** */
public static final int H5R_OBJ_REF_BUF_SIZE = H5R_OBJ_REF_BUF_SIZE();
/** */
public static final int H5R_OBJECT = H5R_OBJECT();
/** */
public static final int H5R_OBJECT1 = H5R_OBJECT1();
/** */
public static final int H5R_OBJECT2 = H5R_OBJECT2();
/** Define atomic datatypes */
@@ -724,222 +970,438 @@ public class HDF5Constants {
/** Define atomic datatypes */
public static final int H5S_UNLIMITED = H5S_UNLIMITED();
/** */
public static final long H5T_ALPHA_B16 = H5T_ALPHA_B16();
/** */
public static final long H5T_ALPHA_B32 = H5T_ALPHA_B32();
/** */
public static final long H5T_ALPHA_B64 = H5T_ALPHA_B64();
/** */
public static final long H5T_ALPHA_B8 = H5T_ALPHA_B8();
/** */
public static final long H5T_ALPHA_F32 = H5T_ALPHA_F32();
/** */
public static final long H5T_ALPHA_F64 = H5T_ALPHA_F64();
/** */
public static final long H5T_ALPHA_I16 = H5T_ALPHA_I16();
/** */
public static final long H5T_ALPHA_I32 = H5T_ALPHA_I32();
/** */
public static final long H5T_ALPHA_I64 = H5T_ALPHA_I64();
/** */
public static final long H5T_ALPHA_I8 = H5T_ALPHA_I8();
/** */
public static final long H5T_ALPHA_U16 = H5T_ALPHA_U16();
/** */
public static final long H5T_ALPHA_U32 = H5T_ALPHA_U32();
/** */
public static final long H5T_ALPHA_U64 = H5T_ALPHA_U64();
/** */
public static final long H5T_ALPHA_U8 = H5T_ALPHA_U8();
/** */
public static final int H5T_ARRAY = H5T_ARRAY();
/** */
public static final int H5T_BITFIELD = H5T_BITFIELD();
/** */
public static final int H5T_BKG_NO = H5T_BKG_NO();
/** */
public static final int H5T_BKG_YES = H5T_BKG_YES();
/** */
public static final long H5T_C_S1 = H5T_C_S1();
/** */
public static final int H5T_COMPOUND = H5T_COMPOUND();
/** */
public static final int H5T_CONV_CONV = H5T_CONV_CONV();
/** */
public static final int H5T_CONV_FREE = H5T_CONV_FREE();
/** */
public static final int H5T_CONV_INIT = H5T_CONV_INIT();
/** */
public static final int H5T_CSET_ERROR = H5T_CSET_ERROR();
/** */
public static final int H5T_CSET_ASCII = H5T_CSET_ASCII();
/** */
public static final int H5T_CSET_UTF8 = H5T_CSET_UTF8();
/** */
public static final int H5T_CSET_RESERVED_10 = H5T_CSET_RESERVED_10();
/** */
public static final int H5T_CSET_RESERVED_11 = H5T_CSET_RESERVED_11();
/** */
public static final int H5T_CSET_RESERVED_12 = H5T_CSET_RESERVED_12();
/** */
public static final int H5T_CSET_RESERVED_13 = H5T_CSET_RESERVED_13();
/** */
public static final int H5T_CSET_RESERVED_14 = H5T_CSET_RESERVED_14();
/** */
public static final int H5T_CSET_RESERVED_15 = H5T_CSET_RESERVED_15();
/** */
public static final int H5T_CSET_RESERVED_2 = H5T_CSET_RESERVED_2();
/** */
public static final int H5T_CSET_RESERVED_3 = H5T_CSET_RESERVED_3();
/** */
public static final int H5T_CSET_RESERVED_4 = H5T_CSET_RESERVED_4();
/** */
public static final int H5T_CSET_RESERVED_5 = H5T_CSET_RESERVED_5();
/** */
public static final int H5T_CSET_RESERVED_6 = H5T_CSET_RESERVED_6();
/** */
public static final int H5T_CSET_RESERVED_7 = H5T_CSET_RESERVED_7();
/** */
public static final int H5T_CSET_RESERVED_8 = H5T_CSET_RESERVED_8();
/** */
public static final int H5T_CSET_RESERVED_9 = H5T_CSET_RESERVED_9();
/** */
public static final int H5T_DIR_ASCEND = H5T_DIR_ASCEND();
/** */
public static final int H5T_DIR_DEFAULT = H5T_DIR_DEFAULT();
/** */
public static final int H5T_DIR_DESCEND = H5T_DIR_DESCEND();
/** */
public static final int H5T_ENUM = H5T_ENUM();
/** */
public static final int H5T_FLOAT = H5T_FLOAT();
/** */
public static final long H5T_FORTRAN_S1 = H5T_FORTRAN_S1();
/** */
public static final long H5T_IEEE_F32BE = H5T_IEEE_F32BE();
/** */
public static final long H5T_IEEE_F32LE = H5T_IEEE_F32LE();
/** */
public static final long H5T_IEEE_F64BE = H5T_IEEE_F64BE();
/** */
public static final long H5T_IEEE_F64LE = H5T_IEEE_F64LE();
/** */
public static final int H5T_INTEGER = H5T_INTEGER();
/** */
public static final long H5T_INTEL_B16 = H5T_INTEL_B16();
/** */
public static final long H5T_INTEL_B32 = H5T_INTEL_B32();
/** */
public static final long H5T_INTEL_B64 = H5T_INTEL_B64();
/** */
public static final long H5T_INTEL_B8 = H5T_INTEL_B8();
/** */
public static final long H5T_INTEL_F32 = H5T_INTEL_F32();
/** */
public static final long H5T_INTEL_F64 = H5T_INTEL_F64();
/** */
public static final long H5T_INTEL_I16 = H5T_INTEL_I16();
/** */
public static final long H5T_INTEL_I32 = H5T_INTEL_I32();
/** */
public static final long H5T_INTEL_I64 = H5T_INTEL_I64();
/** */
public static final long H5T_INTEL_I8 = H5T_INTEL_I8();
/** */
public static final long H5T_INTEL_U16 = H5T_INTEL_U16();
/** */
public static final long H5T_INTEL_U32 = H5T_INTEL_U32();
/** */
public static final long H5T_INTEL_U64 = H5T_INTEL_U64();
/** */
public static final long H5T_INTEL_U8 = H5T_INTEL_U8();
/** */
public static final long H5T_MIPS_B16 = H5T_MIPS_B16();
/** */
public static final long H5T_MIPS_B32 = H5T_MIPS_B32();
/** */
public static final long H5T_MIPS_B64 = H5T_MIPS_B64();
/** */
public static final long H5T_MIPS_B8 = H5T_MIPS_B8();
/** */
public static final long H5T_MIPS_F32 = H5T_MIPS_F32();
/** */
public static final long H5T_MIPS_F64 = H5T_MIPS_F64();
/** */
public static final long H5T_MIPS_I16 = H5T_MIPS_I16();
/** */
public static final long H5T_MIPS_I32 = H5T_MIPS_I32();
/** */
public static final long H5T_MIPS_I64 = H5T_MIPS_I64();
/** */
public static final long H5T_MIPS_I8 = H5T_MIPS_I8();
/** */
public static final long H5T_MIPS_U16 = H5T_MIPS_U16();
/** */
public static final long H5T_MIPS_U32 = H5T_MIPS_U32();
/** */
public static final long H5T_MIPS_U64 = H5T_MIPS_U64();
/** */
public static final long H5T_MIPS_U8 = H5T_MIPS_U8();
/** */
public static final long H5T_NATIVE_B16 = H5T_NATIVE_B16();
/** */
public static final long H5T_NATIVE_B32 = H5T_NATIVE_B32();
/** */
public static final long H5T_NATIVE_B64 = H5T_NATIVE_B64();
/** */
public static final long H5T_NATIVE_B8 = H5T_NATIVE_B8();
/** */
public static final long H5T_NATIVE_CHAR = H5T_NATIVE_CHAR();
/** */
public static final long H5T_NATIVE_DOUBLE = H5T_NATIVE_DOUBLE();
/** */
public static final long H5T_NATIVE_FLOAT = H5T_NATIVE_FLOAT();
/** */
public static final long H5T_NATIVE_HADDR = H5T_NATIVE_HADDR();
/** */
public static final long H5T_NATIVE_HBOOL = H5T_NATIVE_HBOOL();
/** */
public static final long H5T_NATIVE_HERR = H5T_NATIVE_HERR();
/** */
public static final long H5T_NATIVE_HSIZE = H5T_NATIVE_HSIZE();
/** */
public static final long H5T_NATIVE_HSSIZE = H5T_NATIVE_HSSIZE();
/** */
public static final long H5T_NATIVE_INT = H5T_NATIVE_INT();
/** */
public static final long H5T_NATIVE_INT_FAST16 = H5T_NATIVE_INT_FAST16();
/** */
public static final long H5T_NATIVE_INT_FAST32 = H5T_NATIVE_INT_FAST32();
/** */
public static final long H5T_NATIVE_INT_FAST64 = H5T_NATIVE_INT_FAST64();
/** */
public static final long H5T_NATIVE_INT_FAST8 = H5T_NATIVE_INT_FAST8();
/** */
public static final long H5T_NATIVE_INT_LEAST16 = H5T_NATIVE_INT_LEAST16();
/** */
public static final long H5T_NATIVE_INT_LEAST32 = H5T_NATIVE_INT_LEAST32();
/** */
public static final long H5T_NATIVE_INT_LEAST64 = H5T_NATIVE_INT_LEAST64();
/** */
public static final long H5T_NATIVE_INT_LEAST8 = H5T_NATIVE_INT_LEAST8();
/** */
public static final long H5T_NATIVE_INT16 = H5T_NATIVE_INT16();
/** */
public static final long H5T_NATIVE_INT32 = H5T_NATIVE_INT32();
/** */
public static final long H5T_NATIVE_INT64 = H5T_NATIVE_INT64();
/** */
public static final long H5T_NATIVE_INT8 = H5T_NATIVE_INT8();
/** */
public static final long H5T_NATIVE_LDOUBLE = H5T_NATIVE_LDOUBLE();
/** */
public static final long H5T_NATIVE_LLONG = H5T_NATIVE_LLONG();
/** */
public static final long H5T_NATIVE_LONG = H5T_NATIVE_LONG();
/** */
public static final long H5T_NATIVE_OPAQUE = H5T_NATIVE_OPAQUE();
/** */
public static final long H5T_NATIVE_SCHAR = H5T_NATIVE_SCHAR();
/** */
public static final long H5T_NATIVE_SHORT = H5T_NATIVE_SHORT();
/** */
public static final long H5T_NATIVE_UCHAR = H5T_NATIVE_UCHAR();
/** */
public static final long H5T_NATIVE_UINT = H5T_NATIVE_UINT();
/** */
public static final long H5T_NATIVE_UINT_FAST16 = H5T_NATIVE_UINT_FAST16();
/** */
public static final long H5T_NATIVE_UINT_FAST32 = H5T_NATIVE_UINT_FAST32();
/** */
public static final long H5T_NATIVE_UINT_FAST64 = H5T_NATIVE_UINT_FAST64();
/** */
public static final long H5T_NATIVE_UINT_FAST8 = H5T_NATIVE_UINT_FAST8();
/** */
public static final long H5T_NATIVE_UINT_LEAST16 = H5T_NATIVE_UINT_LEAST16();
/** */
public static final long H5T_NATIVE_UINT_LEAST32 = H5T_NATIVE_UINT_LEAST32();
/** */
public static final long H5T_NATIVE_UINT_LEAST64 = H5T_NATIVE_UINT_LEAST64();
/** */
public static final long H5T_NATIVE_UINT_LEAST8 = H5T_NATIVE_UINT_LEAST8();
/** */
public static final long H5T_NATIVE_UINT16 = H5T_NATIVE_UINT16();
/** */
public static final long H5T_NATIVE_UINT32 = H5T_NATIVE_UINT32();
/** */
public static final long H5T_NATIVE_UINT64 = H5T_NATIVE_UINT64();
/** */
public static final long H5T_NATIVE_UINT8 = H5T_NATIVE_UINT8();
/** */
public static final long H5T_NATIVE_ULLONG = H5T_NATIVE_ULLONG();
/** */
public static final long H5T_NATIVE_ULONG = H5T_NATIVE_ULONG();
/** */
public static final long H5T_NATIVE_USHORT = H5T_NATIVE_USHORT();
/** */
public static final int H5T_NCLASSES = H5T_NCLASSES();
/** */
public static final int H5T_NO_CLASS = H5T_NO_CLASS();
/** */
public static final int H5T_NORM_ERROR = H5T_NORM_ERROR();
/** */
public static final int H5T_NORM_IMPLIED = H5T_NORM_IMPLIED();
/** */
public static final int H5T_NORM_MSBSET = H5T_NORM_MSBSET();
/** */
public static final int H5T_NORM_NONE = H5T_NORM_NONE();
/** */
public static final int H5T_NPAD = H5T_NPAD();
/** */
public static final int H5T_NSGN = H5T_NSGN();
/** */
public static final int H5T_OPAQUE = H5T_OPAQUE();
/** */
public static final int H5T_OPAQUE_TAG_MAX = H5T_OPAQUE_TAG_MAX(); /* 1.6.5 */
/** */
public static final int H5T_ORDER_BE = H5T_ORDER_BE();
/** */
public static final int H5T_ORDER_ERROR = H5T_ORDER_ERROR();
/** */
public static final int H5T_ORDER_LE = H5T_ORDER_LE();
/** */
public static final int H5T_ORDER_NONE = H5T_ORDER_NONE();
/** */
public static final int H5T_ORDER_VAX = H5T_ORDER_VAX();
/** */
public static final int H5T_PAD_BACKGROUND = H5T_PAD_BACKGROUND();
/** */
public static final int H5T_PAD_ERROR = H5T_PAD_ERROR();
/** */
public static final int H5T_PAD_ONE = H5T_PAD_ONE();
/** */
public static final int H5T_PAD_ZERO = H5T_PAD_ZERO();
/** */
public static final int H5T_PERS_DONTCARE = H5T_PERS_DONTCARE();
/** */
public static final int H5T_PERS_HARD = H5T_PERS_HARD();
/** */
public static final int H5T_PERS_SOFT = H5T_PERS_SOFT();
/** */
public static final int H5T_REFERENCE = H5T_REFERENCE();
/** */
public static final int H5T_SGN_2 = H5T_SGN_2();
/** */
public static final int H5T_SGN_ERROR = H5T_SGN_ERROR();
/** */
public static final int H5T_SGN_NONE = H5T_SGN_NONE();
/** */
public static final long H5T_STD_B16BE = H5T_STD_B16BE();
/** */
public static final long H5T_STD_B16LE = H5T_STD_B16LE();
/** */
public static final long H5T_STD_B32BE = H5T_STD_B32BE();
/** */
public static final long H5T_STD_B32LE = H5T_STD_B32LE();
/** */
public static final long H5T_STD_B64BE = H5T_STD_B64BE();
/** */
public static final long H5T_STD_B64LE = H5T_STD_B64LE();
/** */
public static final long H5T_STD_B8BE = H5T_STD_B8BE();
/** */
public static final long H5T_STD_B8LE = H5T_STD_B8LE();
/** */
public static final long H5T_STD_I16BE = H5T_STD_I16BE();
/** */
public static final long H5T_STD_I16LE = H5T_STD_I16LE();
/** */
public static final long H5T_STD_I32BE = H5T_STD_I32BE();
/** */
public static final long H5T_STD_I32LE = H5T_STD_I32LE();
/** */
public static final long H5T_STD_I64BE = H5T_STD_I64BE();
/** */
public static final long H5T_STD_I64LE = H5T_STD_I64LE();
/** */
public static final long H5T_STD_I8BE = H5T_STD_I8BE();
/** */
public static final long H5T_STD_I8LE = H5T_STD_I8LE();
/** */
public static final long H5T_STD_REF_DSETREG = H5T_STD_REF_DSETREG();
/** */
public static final long H5T_STD_REF_OBJ = H5T_STD_REF_OBJ();
/** */
public static final long H5T_STD_REF = H5T_STD_REF();
/** */
public static final long H5T_STD_U16BE = H5T_STD_U16BE();
/** */
public static final long H5T_STD_U16LE = H5T_STD_U16LE();
/** */
public static final long H5T_STD_U32BE = H5T_STD_U32BE();
/** */
public static final long H5T_STD_U32LE = H5T_STD_U32LE();
/** */
public static final long H5T_STD_U64BE = H5T_STD_U64BE();
/** */
public static final long H5T_STD_U64LE = H5T_STD_U64LE();
/** */
public static final long H5T_STD_U8BE = H5T_STD_U8BE();
/** */
public static final long H5T_STD_U8LE = H5T_STD_U8LE();
/** */
public static final int H5T_STR_ERROR = H5T_STR_ERROR();
/** */
public static final int H5T_STR_NULLPAD = H5T_STR_NULLPAD();
/** */
public static final int H5T_STR_NULLTERM = H5T_STR_NULLTERM();
/** */
public static final int H5T_STR_RESERVED_10 = H5T_STR_RESERVED_10();
/** */
public static final int H5T_STR_RESERVED_11 = H5T_STR_RESERVED_11();
/** */
public static final int H5T_STR_RESERVED_12 = H5T_STR_RESERVED_12();
/** */
public static final int H5T_STR_RESERVED_13 = H5T_STR_RESERVED_13();
/** */
public static final int H5T_STR_RESERVED_14 = H5T_STR_RESERVED_14();
/** */
public static final int H5T_STR_RESERVED_15 = H5T_STR_RESERVED_15();
/** */
public static final int H5T_STR_RESERVED_3 = H5T_STR_RESERVED_3();
/** */
public static final int H5T_STR_RESERVED_4 = H5T_STR_RESERVED_4();
/** */
public static final int H5T_STR_RESERVED_5 = H5T_STR_RESERVED_5();
/** */
public static final int H5T_STR_RESERVED_6 = H5T_STR_RESERVED_6();
/** */
public static final int H5T_STR_RESERVED_7 = H5T_STR_RESERVED_7();
/** */
public static final int H5T_STR_RESERVED_8 = H5T_STR_RESERVED_8();
/** */
public static final int H5T_STR_RESERVED_9 = H5T_STR_RESERVED_9();
/** */
public static final int H5T_STR_SPACEPAD = H5T_STR_SPACEPAD();
/** */
public static final int H5T_STRING = H5T_STRING();
/** */
public static final int H5T_TIME = H5T_TIME();
/** */
public static final long H5T_UNIX_D32BE = H5T_UNIX_D32BE();
/** */
public static final long H5T_UNIX_D32LE = H5T_UNIX_D32LE();
/** */
public static final long H5T_UNIX_D64BE = H5T_UNIX_D64BE();
/** */
public static final long H5T_UNIX_D64LE = H5T_UNIX_D64LE();
/** */
public static final long H5T_VARIABLE = H5T_VARIABLE();
/** */
public static final int H5T_VLEN = H5T_VLEN();
/** */
public static final int H5T_VL_T = H5T_VL_T();
/** */
public static final int H5VL_CAP_FLAG_NONE = H5VL_CAP_FLAG_NONE();
/** */
public static final int H5VL_CAP_FLAG_THREADSAFE = H5VL_CAP_FLAG_THREADSAFE();
/** */
public static final long H5VL_NATIVE = H5VL_NATIVE();
/** */
public static final String H5VL_NATIVE_NAME = H5VL_NATIVE_NAME();
/** */
public static final int H5VL_NATIVE_VALUE = H5VL_NATIVE_VALUE();
/** */
public static final int H5VL_NATIVE_VERSION = H5VL_NATIVE_VERSION();
/** */
public static final int H5_VOL_INVALID = H5_VOL_INVALID();
/** */
public static final int H5_VOL_NATIVE = H5_VOL_NATIVE();
/** */
public static final int H5_VOL_RESERVED = H5_VOL_RESERVED();
/** */
public static final int H5_VOL_MAX = H5_VOL_MAX();
/** Return values for filter callback function */

View File

@@ -41,6 +41,8 @@ public class HDF5GroupInfo {
long mtime;
int linklen;
/** Container for the information reported about an HDF5 Object
* from the H5Gget_obj_info() method */
public HDF5GroupInfo() {
fileno = new long[2];
objno = new long[2];
@@ -88,27 +90,32 @@ public class HDF5GroupInfo {
linklen = 0;
}
/* accessors */
/** fileno accessors */
public long[] getFileno() {
return fileno;
}
/** accessors */
public long[] getObjno() {
return objno;
}
/** accessors */
public int getType() {
return type;
}
/** accessors */
public int getNlink() {
return nlink;
}
/** accessors */
public long getMtime() {
return mtime;
}
/** accessors */
public int getLinklen() {
return linklen;
}

View File

@@ -21,10 +21,14 @@ import java.io.Serializable;
*/
public class H5A_info_t implements Serializable{
private static final long serialVersionUID = 2791443594041667613L;
public boolean corder_valid; // Indicate if creation order is valid
public long corder; // Creation order of attribute
public int cset; // Character set of attribute name
public long data_size; // Size of raw data
/** Indicate if creation order is valid */
public boolean corder_valid;
/** Creation order of attribute */
public long corder;
/** Character set of attribute name */
public int cset;
/** Size of raw data */
public long data_size;
H5A_info_t(boolean corder_valid, long corder, int cset, long data_size) {
this.corder_valid = corder_valid;

View File

@@ -21,7 +21,9 @@ import java.io.Serializable;
*/
public class H5_ih_info_t implements Serializable {
private static final long serialVersionUID = -142238015615462707L;
/** */
public long index_size; /* btree and/or list */
/** */
public long heap_size;
H5_ih_info_t (long index_size, long heap_size)