Class SARRAY

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

@Name("Sarray") @Properties(inherit=leptonica.class) public class SARRAY extends Pointer
String array: an array of C strings
  • Constructor Details

    • SARRAY

      public SARRAY()
      Default native constructor.
    • SARRAY

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

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

    • position

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

      public SARRAY getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • nalloc

      @Cast("l_int32") public int nalloc()
      size of allocated ptr array
    • nalloc

      public SARRAY nalloc(int setter)
    • n

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

      public SARRAY n(int setter)
    • refcount

      @Cast("l_atomic") public int refcount()
      reference count (1 if no clones)
    • refcount

      public SARRAY refcount(int setter)
    • array

      @Cast("char*") public BytePointer array(int i)
      string array
    • array

      public SARRAY array(int i, BytePointer setter)
    • array

      @Cast("char**") public PointerPointer array()
    • array

      public SARRAY array(PointerPointer setter)