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

net.sourceforge.lept4j.L_RegParams Maven / Gradle / Ivy

package net.sourceforge.lept4j;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import com.sun.jna.ptr.PointerByReference;
import java.util.Arrays;
import java.util.List;
/**
 * Regression test parameter packer
* native declaration : regutils.h:14
* This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java or JNA. */ public class L_RegParams extends Structure { /** * stream to temporary output file for compare mode
* C type : FILE* */ public PointerByReference fp; /** * name of test, without '_reg'
* C type : char* */ public Pointer testname; /** * name of temp file for compare mode output
* C type : char* */ public Pointer tempfile; /** * generate, compare or display
* C type : l_int32 */ public int mode; /** * index into saved files for this test; 0-based
* C type : l_int32 */ public int index; /** * overall result of the test
* C type : l_int32 */ public int success; /** * 1 if in display mode; 0 otherwise
* C type : l_int32 */ public int display; /** * marks beginning of the reg test
* C type : L_TIMER */ public Pointer tstart; public L_RegParams() { super(); } protected List getFieldOrder() { return Arrays.asList("fp", "testname", "tempfile", "mode", "index", "success", "display", "tstart"); } /** * @param fp stream to temporary output file for compare mode
* C type : FILE*
* @param testname name of test, without '_reg'
* C type : char*
* @param tempfile name of temp file for compare mode output
* C type : char*
* @param mode generate, compare or display
* C type : l_int32
* @param index index into saved files for this test; 0-based
* C type : l_int32
* @param success overall result of the test
* C type : l_int32
* @param display 1 if in display mode; 0 otherwise
* C type : l_int32
* @param tstart marks beginning of the reg test
* C type : L_TIMER */ public L_RegParams(PointerByReference fp, Pointer testname, Pointer tempfile, int mode, int index, int success, int display, Pointer tstart) { super(); this.fp = fp; this.testname = testname; this.tempfile = tempfile; this.mode = mode; this.index = index; this.success = success; this.display = display; this.tstart = tstart; } public L_RegParams(Pointer peer) { super(peer); read(); } public static class ByReference extends L_RegParams implements Structure.ByReference { }; public static class ByValue extends L_RegParams implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy