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

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

H5Pget_fill_value queries the fill value property of a dataset creation property list. NOT IMPLEMENTED YET

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

Definition at line 2129 of file H5.java.

References ncsa::hdf::hdf5lib::HDFArray::arrayify(), ncsa::hdf::hdf5lib::HDFArray::emptyBytes(), and H5Pget_fill_value().

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

        int status = H5Pget_fill_value(plist_id, type_id, buf);
        if (status >= 0) {
            obj = theArray.arrayify( buf);
        }

        return status;
    }


Generated by  Doxygen 1.6.0   Back to index