Logo Search packages:      
Sourcecode: jhdf version File versions  Download package

static synchronized int ncsa::hdf::hdf5lib::H5::H5Pset_fill_value ( int  plist_id,
int  type_id,
Object  obj 
) throws HDF5Exception [inline, static]

H5Pset_fill_value sets the fill value for a dataset creation property list.

Parameters:
plist_id IN: Property list identifier.
type_id IN: The datatype identifier of value.
obj IN: The fill value.
Returns:
a non-negative value if successful
Exceptions:
HDF5Exception - Error converting data array

Definition at line 2089 of file H5.java.

References ncsa::hdf::hdf5lib::HDFArray::byteify(), and H5Pset_fill_value().

    {
        HDFArray theArray = new HDFArray(obj);
        byte[] buf = theArray.byteify();

        int retVal = H5Pset_fill_value(plist_id, type_id, buf);

        buf = null;
        theArray = null;
        return retVal;
    }


Generated by  Doxygen 1.6.0   Back to index