Class _VipsTarget

java.lang.Object
app.photofox.vipsffm.jextract._VipsTarget
Direct Known Subclasses:
VipsTarget

public class _VipsTarget extends Object
struct _VipsTarget {
    VipsConnection parent_object;
    gboolean memory;
    gboolean ended;
    GString *memory_buffer;
    VipsBlob *blob;
    unsigned char output_buffer[8500];
    int write_point;
    gint64 position;
    gboolean delete_on_close;
    char *delete_on_close_filename;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • parent_object$layout

      public static final GroupLayout parent_object$layout()
      Layout for field:
      VipsConnection parent_object
      
    • parent_object$offset

      public static final long parent_object$offset()
      Offset for field:
      VipsConnection parent_object
      
    • parent_object

      public static MemorySegment parent_object(MemorySegment struct)
      Getter for field:
      VipsConnection parent_object
      
    • parent_object

      public static void parent_object(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      VipsConnection parent_object
      
    • memory$layout

      public static final ValueLayout.OfInt memory$layout()
      Layout for field:
      gboolean memory
      
    • memory$offset

      public static final long memory$offset()
      Offset for field:
      gboolean memory
      
    • memory

      public static int memory(MemorySegment struct)
      Getter for field:
      gboolean memory
      
    • memory

      public static void memory(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean memory
      
    • ended$layout

      public static final ValueLayout.OfInt ended$layout()
      Layout for field:
      gboolean ended
      
    • ended$offset

      public static final long ended$offset()
      Offset for field:
      gboolean ended
      
    • ended

      public static int ended(MemorySegment struct)
      Getter for field:
      gboolean ended
      
    • ended

      public static void ended(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean ended
      
    • memory_buffer$layout

      public static final AddressLayout memory_buffer$layout()
      Layout for field:
      GString *memory_buffer
      
    • memory_buffer$offset

      public static final long memory_buffer$offset()
      Offset for field:
      GString *memory_buffer
      
    • memory_buffer

      public static MemorySegment memory_buffer(MemorySegment struct)
      Getter for field:
      GString *memory_buffer
      
    • memory_buffer

      public static void memory_buffer(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      GString *memory_buffer
      
    • blob$layout

      public static final AddressLayout blob$layout()
      Layout for field:
      VipsBlob *blob
      
    • blob$offset

      public static final long blob$offset()
      Offset for field:
      VipsBlob *blob
      
    • blob

      public static MemorySegment blob(MemorySegment struct)
      Getter for field:
      VipsBlob *blob
      
    • blob

      public static void blob(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      VipsBlob *blob
      
    • output_buffer$layout

      public static final SequenceLayout output_buffer$layout()
      Layout for field:
      unsigned char output_buffer[8500]
      
    • output_buffer$offset

      public static final long output_buffer$offset()
      Offset for field:
      unsigned char output_buffer[8500]
      
    • output_buffer

      public static MemorySegment output_buffer(MemorySegment struct)
      Getter for field:
      unsigned char output_buffer[8500]
      
    • output_buffer

      public static void output_buffer(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      unsigned char output_buffer[8500]
      
    • output_buffer$dimensions

      public static long[] output_buffer$dimensions()
      Dimensions for array field:
      unsigned char output_buffer[8500]
      
    • output_buffer

      public static byte output_buffer(MemorySegment struct, long index0)
      Indexed getter for field:
      unsigned char output_buffer[8500]
      
    • output_buffer

      public static void output_buffer(MemorySegment struct, long index0, byte fieldValue)
      Indexed setter for field:
      unsigned char output_buffer[8500]
      
    • write_point$layout

      public static final ValueLayout.OfInt write_point$layout()
      Layout for field:
      int write_point
      
    • write_point$offset

      public static final long write_point$offset()
      Offset for field:
      int write_point
      
    • write_point

      public static int write_point(MemorySegment struct)
      Getter for field:
      int write_point
      
    • write_point

      public static void write_point(MemorySegment struct, int fieldValue)
      Setter for field:
      int write_point
      
    • position$layout

      public static final ValueLayout.OfLong position$layout()
      Layout for field:
      gint64 position
      
    • position$offset

      public static final long position$offset()
      Offset for field:
      gint64 position
      
    • position

      public static long position(MemorySegment struct)
      Getter for field:
      gint64 position
      
    • position

      public static void position(MemorySegment struct, long fieldValue)
      Setter for field:
      gint64 position
      
    • delete_on_close$layout

      public static final ValueLayout.OfInt delete_on_close$layout()
      Layout for field:
      gboolean delete_on_close
      
    • delete_on_close$offset

      public static final long delete_on_close$offset()
      Offset for field:
      gboolean delete_on_close
      
    • delete_on_close

      public static int delete_on_close(MemorySegment struct)
      Getter for field:
      gboolean delete_on_close
      
    • delete_on_close

      public static void delete_on_close(MemorySegment struct, int fieldValue)
      Setter for field:
      gboolean delete_on_close
      
    • delete_on_close_filename$layout

      public static final AddressLayout delete_on_close_filename$layout()
      Layout for field:
      char *delete_on_close_filename
      
    • delete_on_close_filename$offset

      public static final long delete_on_close_filename$offset()
      Offset for field:
      char *delete_on_close_filename
      
    • delete_on_close_filename

      public static MemorySegment delete_on_close_filename(MemorySegment struct)
      Getter for field:
      char *delete_on_close_filename
      
    • delete_on_close_filename

      public static void delete_on_close_filename(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      char *delete_on_close_filename
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()