[svn-r5427] Purpose:

New Feature - per library change

Description:
    Added new member function DataSet::fillMemBuf for the new
    C API H5Dfill.  Quincey's description of H5Dfill is as followed:

    Added new H5Dfill() routine to fill the elements in a selection for a
    memory buffer with a fill value.  This is a user API wrapper around some
    internal routines which were needed for the fill-value modifications
    from Raymond as well as Pedro's code for reducing the size of a chunked
    dataset.

Platforms:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
This commit is contained in:
Binh-Minh Ribler
2002-05-16 09:03:53 -05:00
parent de3af15daf
commit 97a2a55cf4
2 changed files with 48 additions and 3 deletions

View File

@@ -39,10 +39,14 @@ class __DLLCPP__ DataSet : public AbstractDs {
// Extends the dataset with unlimited dimension.
void extend( const hsize_t* size ) const;
// Fills a selection in memory with a value
void fillMemBuf(const void *fill, DataType& fill_type, void *buf, DataType& buf_type, DataSpace& space);
// Fills a selection in memory with zero
void fillMemBuf(void *buf, DataType& buf_type, DataSpace& space);
// Creates a copy of an existing DataSet using its id
// (used only by template functions in FGtemplates.h
// to return a DataSet, will not be published; Note: should use
// friend template function)
// Note: used by CommonFG to return a DataSet; should be modified
// to use friend template function instead)
DataSet( const hid_t dataset_id );
// Used by the API to appropriately close a dataset