Class L_STRCODE

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

@Name("L_StrCode") @Properties(inherit=leptonica.class) public class L_STRCODE extends Pointer
\file stringcode.h Data structure to hold accumulating generated code for storing and extracting serializable leptonica objects (e.g., pixa, recog). Also a flag for selecting a string from the L_GenAssoc struct in stringcode.
  • Constructor Details

    • L_STRCODE

      public L_STRCODE()
      Default native constructor.
    • L_STRCODE

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

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

    • position

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

      public L_STRCODE getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • fileno

      @Cast("l_int32") public int fileno()
      index for function and output file names
    • fileno

      public L_STRCODE fileno(int setter)
    • ifunc

      @Cast("l_int32") public int ifunc()
      index into struct currently being stored
    • ifunc

      public L_STRCODE ifunc(int setter)
    • function

      public SARRAY function()
      store case code for extraction
    • function

      public L_STRCODE function(SARRAY setter)
    • data

      public SARRAY data()
      store base64 encoded data as strings
    • data

      public L_STRCODE data(SARRAY setter)
    • descr

      public SARRAY descr()
      store line in description table
    • descr

      public L_STRCODE descr(SARRAY setter)
    • n

      @Cast("l_int32") public int n()
      number of data strings
    • n

      public L_STRCODE n(int setter)