Class L_REGPARAMS

java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_REGPARAMS
All Implemented Interfaces:
AutoCloseable

@Name("L_RegParams") @Properties(inherit=leptonica.class) public class L_REGPARAMS extends Pointer
Regression test parameter packer
  • Constructor Details

    • L_REGPARAMS

      public L_REGPARAMS()
      Default native constructor.
    • L_REGPARAMS

      public L_REGPARAMS(long size)
      Native array allocator. Access with Pointer.position(long).
    • L_REGPARAMS

      public L_REGPARAMS(Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public L_REGPARAMS position(long position)
      Overrides:
      position in class Pointer
    • getPointer

      public L_REGPARAMS getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • fp

      @Cast("FILE*") public Pointer fp()
      stream to temporary output file for compare mode
    • fp

      public L_REGPARAMS fp(Pointer setter)
    • testname

      @Cast("char*") public BytePointer testname()
      name of test, without '_reg'
    • testname

      public L_REGPARAMS testname(BytePointer setter)
    • tempfile

      @Cast("char*") public BytePointer tempfile()
      name of temp file for compare mode output
    • tempfile

      public L_REGPARAMS tempfile(BytePointer setter)
    • mode

      @Cast("l_int32") public int mode()
      generate, compare or display
    • mode

      public L_REGPARAMS mode(int setter)
    • index

      @Cast("l_atomic") public int index()
      index into saved files for this test; 0-based
    • index

      public L_REGPARAMS index(int setter)
    • success

      @Cast("l_int32") public int success()
      overall result of the test
    • success

      public L_REGPARAMS success(int setter)
    • display

      @Cast("l_int32") public int display()
      1 if in display mode; 0 otherwise
    • display

      public L_REGPARAMS display(int setter)
    • tstart

      public L_TIMER tstart()
      marks beginning of the reg test
    • tstart

      public L_REGPARAMS tstart(L_TIMER setter)