summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DxferProp.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-07-11 05:27:00 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-07-11 05:27:00 (GMT)
commit10bae2c87537acf666400278849763bd07e239a9 (patch)
tree63845948e9a83f793a65cbe748533824558060b0 /c++/src/H5DxferProp.h
parent83ff4069fde3d5ab11fbae80eb260278fcf721a5 (diff)
downloadhdf5-10bae2c87537acf666400278849763bd07e239a9.zip
hdf5-10bae2c87537acf666400278849763bd07e239a9.tar.gz
hdf5-10bae2c87537acf666400278849763bd07e239a9.tar.bz2
[svn-r8857] Purpose: Adding more C++ wrappers and documentation
Description: Added documentation and C++ wrappers for many C APIs to: H5PropList.* H5FaccProp.* H5DcreatProp.* H5DxferProp.* H5DataType.* H5Group.* Tests will follow soon. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
Diffstat (limited to 'c++/src/H5DxferProp.h')
-rw-r--r--c++/src/H5DxferProp.h67
1 files changed, 43 insertions, 24 deletions
diff --git a/c++/src/H5DxferProp.h b/c++/src/H5DxferProp.h
index e071870..652af55 100644
--- a/c++/src/H5DxferProp.h
+++ b/c++/src/H5DxferProp.h
@@ -31,31 +31,24 @@ class H5_DLLCPP DSetMemXferPropList : public PropList {
DSetMemXferPropList( const DSetMemXferPropList& orig );
#ifdef H5_WANT_H5_V1_4_COMPAT
- // Sets type conversion and background buffers
- void setBuffer( hsize_t size, void* tconv, void* bkg ) const;
+ // Sets type conversion and background buffers
+ void setBuffer( hsize_t size, void* tconv, void* bkg ) const;
- // Reads buffer settings
- hsize_t getBuffer( void** tconv, void** bkg ) const;
-#else /* H5_WANT_H5_V1_4_COMPAT */
- // Sets type conversion and background buffers
- void setBuffer( size_t size, void* tconv, void* bkg ) const;
+ // Reads buffer settings
+ hsize_t getBuffer( void** tconv, void** bkg ) const;
- // Reads buffer settings
- size_t getBuffer( void** tconv, void** bkg ) const;
-#endif /* H5_WANT_H5_V1_4_COMPAT */
+ // Indicates whether to cache hyperslab blocks during I/O
+ void setHyperCache( bool cache, unsigned limit = 0 ) const;
- // Sets the dataset transfer property list status to TRUE or FALSE
- void setPreserve( bool status ) const;
+ // Returns information regarding the caching of hyperslab blocks during I/O
+ void getHyperCache( bool& cache, unsigned& limit ) const;
- // Checks status of the dataset transfer property list
- bool getPreserve() const;
-
-#ifdef H5_WANT_H5_V1_4_COMPAT
- // Indicates whether to cache hyperslab blocks during I/O
- void setHyperCache( bool cache, unsigned limit = 0 ) const;
+#else /* H5_WANT_H5_V1_4_COMPAT */
+ // Sets type conversion and background buffers
+ void setBuffer( size_t size, void* tconv, void* bkg ) const;
- // Returns information regarding the caching of hyperslab blocks during I/O
- void getHyperCache( bool& cache, unsigned& limit ) const;
+ // Reads buffer settings
+ size_t getBuffer( void** tconv, void** bkg ) const;
#endif /* H5_WANT_H5_V1_4_COMPAT */
// Sets B-tree split ratios for a dataset transfer property list
@@ -64,6 +57,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 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 the memory manager for variable-length datatype
// allocation in H5Dread and H5Dvlen_reclaim
void setVlenMemManager( H5MM_allocate_t alloc, void* alloc_info,
@@ -78,11 +77,31 @@ class H5_DLLCPP DSetMemXferPropList : public PropList {
void getVlenMemManager( H5MM_allocate_t& alloc, void** alloc_info,
H5MM_free_t& free, void** free_info ) const;
- // Sets the transfer mode - parallel mode, not currently supported
- //void setXfer( H5D_transfer_t data_xfer_mode = H5D_XFER_INDEPENDENT ) const;
+ // Sets the data transfer property list for the multi-file driver.
+ void setMulti(const hid_t *memb_dxpl);
+
+ // Returns multi-file data transfer property list information.
+ void getMulti(hid_t *memb_dxpl);
+
+ // Sets the size of a contiguous block reserved for small data.
+ void setSmallDataBlockSize(hsize_t size);
+
+ // Returns the current small data block size setting.
+ hsize_t getSmallDataBlockSize();
+
+ // Sets number of I/O vectors to be read/written in hyperslab I/O.
+ void setHyperVectorSize(size_t vector_size);
+
+ // Returns the number of I/O vectors to be read/written in
+ // hyperslab I/O.
+ size_t getHyperVectorSize();
+
+ // Enables or disables error-detecting for a dataset reading
+ // process.
+ void setEDCCheck(H5Z_EDC_t check);
- // Gets the transfer mode - parallel mode, not currently supported
- //H5D_transfer_t getXfer() const;
+ // Determines whether error-detection is enabled for dataset reads.
+ H5Z_EDC_t getEDCCheck();
// Creates a copy of an existing dataset memory and transfer
// property list using the property list id