All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.hdf5.H5Z_func_t Maven / Gradle / Ivy

// Targeted by JavaCPP version 1.5.2: DO NOT EDIT THIS FILE

package org.bytedeco.hdf5;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.hdf5.global.hdf5.*;


/*
 * A filter gets definition flags and invocation flags (defined above), the
 * client data array and size defined when the filter was added to the
 * pipeline, the size in bytes of the data on which to operate, and pointers
 * to a buffer and its allocated size.
 *
 * The filter should store the result in the supplied buffer if possible,
 * otherwise it can allocate a new buffer, freeing the original.  The
 * allocated size of the new buffer should be returned through the BUF_SIZE
 * pointer and the new buffer through the BUF pointer.
 *
 * The return value from the filter is the number of bytes in the output
 * buffer. If an error occurs then the function should return zero and leave
 * all pointer arguments unchanged.
 */
@Properties(inherit = org.bytedeco.hdf5.presets.hdf5.class)
public class H5Z_func_t extends FunctionPointer {
    static { Loader.load(); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public    H5Z_func_t(Pointer p) { super(p); }
    protected H5Z_func_t() { allocate(); }
    private native void allocate();
    public native @Cast("size_t") long call(@Cast("unsigned int") int flags, @Cast("size_t") long cd_nelmts,
			     @Cast("const unsigned int*") IntPointer cd_values, @Cast("size_t") long nbytes,
			     @Cast("size_t*") SizeTPointer buf_size, @Cast("void**") @ByPtrPtr Pointer buf);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy