Class L_PTRA

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

@Name("L_Ptra") @Properties(inherit=leptonica.class) public class L_PTRA extends Pointer
Generic pointer array
  • Constructor Details

    • L_PTRA

      public L_PTRA()
      Default native constructor.
    • L_PTRA

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

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

    • position

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

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

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

      public L_PTRA nalloc(int setter)
    • imax

      @Cast("l_int32") public int imax()
      greatest valid index
    • imax

      public L_PTRA imax(int setter)
    • nactual

      @Cast("l_int32") public int nactual()
      actual number of stored elements
    • nactual

      public L_PTRA nactual(int setter)
    • array

      public Pointer array(int i)
      ptr array
    • array

      public L_PTRA array(int i, Pointer setter)
    • array

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

      public L_PTRA array(PointerPointer setter)