diff options
Diffstat (limited to 'c++/src/H5DxferProp.h')
-rw-r--r-- | c++/src/H5DxferProp.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h index 3155fa6..eae80ae 100644 --- a/c++/src/H5DxferProp.h +++ b/c++/src/H5DxferProp.h @@ -24,47 +24,44 @@ class H5_DLLCPP DSetMemXferPropList : public PropList { public: static const DSetMemXferPropList DEFAULT; - // Creates a dataset memory and transfer property list + // Creates a dataset memory and transfer property list. DSetMemXferPropList(); - // Copy constructor: creates a copy of a DSetMemXferPropList object - DSetMemXferPropList( const DSetMemXferPropList& orig ); - - // Sets type conversion and background buffers + // Sets type conversion and background buffers. void setBuffer( size_t size, void* tconv, void* bkg ) const; - // Reads buffer settings + // Reads buffer settings. size_t getBuffer( void** tconv, void** bkg ) const; - // Sets the dataset transfer property list status to TRUE or FALSE - void setPreserve( bool status ) const; - - // Checks status of the dataset transfer property list - bool getPreserve() const; - - // Sets B-tree split ratios for a dataset transfer property list + // Sets B-tree split ratios for a dataset transfer property list. void setBtreeRatios( double left, double middle, double right ) const; - // Gets B-tree split ratios for a dataset transfer property list + // 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 + // Sets the dataset transfer property list status to TRUE or FALSE. + void setPreserve( bool status ) const; + + // Checks status of the dataset transfer property list. + bool getPreserve() 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 + // 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 + // allocation in H5Dread and H5Dvlen_reclaim. void setVlenMemManager( H5MM_allocate_t alloc, void* alloc_info, H5MM_free_t free, void* free_info ) const; // alloc and free are set to NULL, indicating that system - // malloc and free are to be used + // malloc and free are to be used. void setVlenMemManager() const; // Gets the memory manager for variable-length datatype - // allocation in H5Dread and H5Tvlen_reclaim + // allocation in H5Dread and H5Tvlen_reclaim. void getVlenMemManager( H5MM_allocate_t& alloc, void** alloc_info, H5MM_free_t& free, void** free_info ) const; @@ -94,12 +91,15 @@ class H5_DLLCPP DSetMemXferPropList : public PropList { // Determines whether error-detection is enabled for dataset reads. H5Z_EDC_t getEDCCheck(); - // Returns this class name + // Returns this class name. virtual H5std_string fromClass () const { return("DSetMemXferPropList"); } + // Copy constructor: makes a copy of a DSetMemXferPropList object. + DSetMemXferPropList(const DSetMemXferPropList& orig); + // Creates a copy of an existing dataset memory and transfer // property list using the property list id. - DSetMemXferPropList (const hid_t plist_id); + DSetMemXferPropList(const hid_t plist_id); // Noop destructor virtual ~DSetMemXferPropList(); |