diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2004-04-27 19:16:35 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2004-04-27 19:16:35 (GMT) |
commit | 85b599e9332c1d7d6f454425b66ad43e78954814 (patch) | |
tree | 569f6dc4c55759da189280c4c49966052ed81b1a /c++/src/H5DxferProp.h | |
parent | 4fa0c3f5bc09d0948e1dde9c3ed3ebc700109936 (diff) | |
download | hdf5-85b599e9332c1d7d6f454425b66ad43e78954814.zip hdf5-85b599e9332c1d7d6f454425b66ad43e78954814.tar.gz hdf5-85b599e9332c1d7d6f454425b66ad43e78954814.tar.bz2 |
[svn-r8423] Purpose: New feature
Description: A new exception handler for datatype conversion(set through
H5Pset_type_conv_cb) to replace the old overflow callback function(set
through H5Tset_overflow). This new handler can deal with overflow, precision
loss and fraction truncate during datatype conversion.
Platforms tested: h5committest
Misc. update: release_docs
Diffstat (limited to 'c++/src/H5DxferProp.h')
-rw-r--r-- | c++/src/H5DxferProp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h index 036bbb1..5bdb557 100644 --- a/c++/src/H5DxferProp.h +++ b/c++/src/H5DxferProp.h @@ -48,6 +48,12 @@ class H5_DLLCPP DSetMemXferPropList : public PropList { // Gets B-tree split ratios for a dataset transfer property list void getBtreeRatios( double& left, double& middle, double& right ) const; + // Sets an exception handling callback for datatype conversion + void setTypeConvCB( H5T_conv_except_func_t *op, void *user_data) const; + + // Gets the exception handling callback for datatype conversion + void getTypeConvCB( H5T_conv_except_func_t **op, void **user_data) const; + // Sets the memory manager for variable-length datatype // allocation in H5Dread and H5Dvlen_reclaim void setVlenMemManager( H5MM_allocate_t alloc, void* alloc_info, |