mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[svn-r8466]
Purpose: Correct my mistake Description: I inadvertently deleted the changes that Ray and Quincey put in these two files. Added them back. Platforms tested: SunOS 5.8-64 (sol) Linux 2.4 (eirene) Misc. update:
This commit is contained in:
parent
db8f63f552
commit
3b490063e3
@ -116,6 +116,30 @@ void DSetMemXferPropList::getBtreeRatios( double& left, double& middle, double&
|
||||
}
|
||||
}
|
||||
|
||||
// Sets an exception handling callback for datatype conversion
|
||||
// for a dataset transfer property list
|
||||
void DSetMemXferPropList::setTypeConvCB( H5T_conv_except_func_t op, void *user_data) const
|
||||
{
|
||||
herr_t ret_value = H5Pset_type_conv_cb( id, op, user_data);
|
||||
if( ret_value < 0 )
|
||||
{
|
||||
throw PropListIException("DSetMemXferPropList::setTypeConvCB",
|
||||
"H5Pset_type_conv_cb failed");
|
||||
}
|
||||
}
|
||||
|
||||
// Sets an exception handling callback for datatype conversion
|
||||
// for a dataset transfer property list
|
||||
void DSetMemXferPropList::getTypeConvCB( H5T_conv_except_func_t *op, void **user_data) const
|
||||
{
|
||||
herr_t ret_value = H5Pget_type_conv_cb( id, op, user_data);
|
||||
if( ret_value < 0 )
|
||||
{
|
||||
throw PropListIException("DSetMemXferPropList::getTypeConvCB",
|
||||
"H5Pget_type_conv_cb failed");
|
||||
}
|
||||
}
|
||||
|
||||
// Sets the memory manager for variable-length datatype allocation
|
||||
void DSetMemXferPropList::setVlenMemManager( H5MM_allocate_t alloc_func, void* alloc_info, H5MM_free_t free_func, void* free_info ) const
|
||||
{
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user