diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-05-02 22:05:25 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-05-02 22:05:25 (GMT) |
commit | db8f63f552de78aed3a0a773240380445519fdaf (patch) | |
tree | 84fd4d92821a9d45a9cee88a7231753a2c1b8118 /c++/src/H5DcreatProp.h | |
parent | 51455f42822a4bfba5ceaf827a8e4a6a98d1c408 (diff) | |
download | hdf5-db8f63f552de78aed3a0a773240380445519fdaf.zip hdf5-db8f63f552de78aed3a0a773240380445519fdaf.tar.gz hdf5-db8f63f552de78aed3a0a773240380445519fdaf.tar.bz2 |
[svn-r8465] Purpose:
Add more C++ wrappers - incrementally check-in
Description:
Added wrapper for many C property list functions and added Doxygen
documentation to existing C++ functions in these files. This is
an incremental check-in to preserve the code, corresponding tests
will follow in a few weeks.
For H5PropList.h and H5PropList.cpp, added C++ wrappers for:
H5Pexist
H5Pclose_class
H5Pget
H5Pget_size
H5Pget_class_name
H5Pget_nprops
H5Pset
H5Pisa_class
H5Premove
H5Pequal
H5Pget_class_parent
For H5FaccProp.h and H5FaccProp.cpp, added C++ wrappers for:
H5Ps[g]et_driver
H5Ps[g]et_family_offset
H5Ps[g]et_fapl_core
H5Ps[g]et_fapl_family
H5Ps[g]et_fapl_stream
H5Ps[g]et_sieve_buf_size
H5Ps[g]et_meta_block_size
H5Ps[g]et_alignment
H5Ps[g]et_multi_type
H5Ps[g]et_fclose_degree
H5Pset_fapl_stdio
H5Pset_fapl_split
H5Pset_fapl_log
H5Pset_fapl_sec2
For H5FcreatProp.h and H5FcreatProp.cpp, added C++ wrappers for:
H5Pfill_value_defined
H5Premove_filter
H5Pget_filter_by_id
H5Pmodify_filter
H5Pall_filters_avail
H5Pset_shuffle
H5Ps[g]et_alloc_time
H5Ps[g]et_fill_time
H5Pset_fletcher32
For H5DxferProp.h and H5DxferProp.cpp, added C++ wrappers for:
H5Ps[g]et_dxpl_multi
H5Ps[g]et_small_data_block_size
H5Ps[g]et_hyper_vector_size
H5Ps[g]et_edc_check
Platforms:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
SunOS 5.8-64 (sol)
Diffstat (limited to 'c++/src/H5DcreatProp.h')
-rw-r--r-- | c++/src/H5DcreatProp.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/c++/src/H5DcreatProp.h b/c++/src/H5DcreatProp.h index 55570c9..765ce68 100644 --- a/c++/src/H5DcreatProp.h +++ b/c++/src/H5DcreatProp.h @@ -54,11 +54,14 @@ 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) const; + void removeFilter( H5Z_filter_t filter_id) const; // Returns the number of filters in the pipeline int getNfilters() const; @@ -66,6 +69,34 @@ class H5_DLLCPP DSetCreatPropList : public PropList { // 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; + // 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; |