diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-07-11 05:27:00 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-07-11 05:27:00 (GMT) |
commit | 10bae2c87537acf666400278849763bd07e239a9 (patch) | |
tree | 63845948e9a83f793a65cbe748533824558060b0 /c++/src/H5DcreatProp.h | |
parent | 83ff4069fde3d5ab11fbae80eb260278fcf721a5 (diff) | |
download | hdf5-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/H5DcreatProp.h')
-rw-r--r-- | c++/src/H5DcreatProp.h | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/c++/src/H5DcreatProp.h b/c++/src/H5DcreatProp.h index 931a478..8c1a831 100644 --- a/c++/src/H5DcreatProp.h +++ b/c++/src/H5DcreatProp.h @@ -54,14 +54,48 @@ class H5_DLLCPP DSetCreatPropList : public PropList { // Retrieves a dataset fill value void getFillValue( const DataType& fvalue_type, void* value ) const; + // Checks if fill value has been defined for this property + H5D_fill_value_t isFillValueDefined(); + // Adds a filter to the filter pipeline void setFilter( H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[] ) const; + // Remove one or all filters from the filter pipeline + void removeFilter( H5Z_filter_t filter_id) const; + // Returns the number of filters in the pipeline int getNfilters() const; // Returns information about a filter in a pipeline - H5Z_filter_t getFilter( int filter_number, unsigned int& flags, size_t& cd_nelmts, unsigned int* cd_values, size_t namelen, char name[] ) const; + H5Z_filter_t getFilter(int filter_number, unsigned int& flags, size_t& cd_nelmts, unsigned int* cd_values, size_t namelen, char name[]) const; + + // Returns information about a filter in a pipeline given the filter id + void getFilterById(H5Z_filter_t filter_id, unsigned int &flags, size_t &cd_nelmts, unsigned int* cd_values, size_t namelen, char name[]) const; + + // Modifies the specified filter + void modifyFilter( H5Z_filter_t filter_id, unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[] ) const; + + // Queries whether all the filters set in this property list are + // available currently. + bool allFiltersAvail(); + + // Sets method of the shuffle filter + void setShuffle(); + + // Get space allocation time for this property + H5D_alloc_time_t getAllocTime(); + + // Gets fill value writing time + H5D_fill_time_t getFillTime(); + + // Set space allocation time for dataset during creation + void setAllocTime(H5D_alloc_time_t alloc_time); + + // Sets fill value writing time for dataset + void setFillTime(H5D_fill_time_t fill_time); + + // Sets Fletcher32 checksum of EDC for this property list + void setFletcher32(); // Adds an external file to the list of external files void setExternal( const char* name, off_t offset, hsize_t size ) const; |